Values that show SysCtl Peripheral Source Clock The following are values that can be passed to the xSysCtlPeripheralClockSourceSet2() API as the ulPeripheral parameter. More...
|
Defines | |
| #define | ADC0 |
| #define | PWMB |
| #define | PWMA |
| #define | FRQDIV |
| #define | I2S0 |
| #define | TIMER0 |
| #define | TIMER1 |
| #define | TIMER2 |
| #define | TIMER3 |
| #define | UART0 |
| #define | UART1 |
| #define | UART2 |
| #define | CAN0 |
| #define | WDT0 |
| #define | INT |
| internal high speed oscillator | |
| #define | HCLK |
| The system clock. | |
| #define | HCLK_2048 |
| The system clock divide by 2048. | |
| #define | EXTSL |
| external low speed crystal | |
| #define | INTSL |
| internal low speed oscillator | |
| #define | MAIN |
| external high speed oscillator | |
| #define | PLL |
| PLL output. | |
| #define | PLL_2 |
| PLL output divide by 2. | |
| #define | EXTTRG |
| external clock input | |
Values that show SysCtl Peripheral Source Clock The following are values that can be passed to the xSysCtlPeripheralClockSourceSet2() API as the ulPeripheral parameter.
The macros of General Peripheral Short Name always like: ModuleName + n , such as CAN0, ADC0.
//! +-------------------------- +----------------+--------------------------+ //! |Peripheral Short name | CoX | NUC1xx | //! |---------------------------|----------------|--------------------------| //! |ADCn | Non-Mandatory | ADC0 | //! |---------------------------|----------------|--------------------------| //! |PWMn | Non-Mandatory | PWMA | //! | | | PWMB | //! |-------------------------- |----------------|--------------------------| //! |CANn | Non-Mandatory | CAN0 | //! |-------------------------- |----------------|--------------------------| //! |UARTn | Non-Mandatory | UART0 | //! | | | UART1 | //! | | | UART2 | //! |-------------------------- |----------------|--------------------------| //! |I2Sn | Non-Mandatory | I2S0 | //! |-------------------------- |----------------|--------------------------| //! |WDTn | Non-Mandatory | WDT0 | //! |-------------------------- |----------------|--------------------------| //! |TIMERn | Non-Mandatory | TIMER0 | //! | | | TIMER1 | //! | | | TIMER2 | //! | | | TIMER3 | //! |-------------------------- |----------------|--------------------------| //! |I2Cn | Non-Mandatory | N | //! |-------------------------- |----------------|--------------------------| //! |SPIn | Non-Mandatory | N | //! |-------------------------- |----------------|--------------------------| //! |SPIn | Non-Mandatory | N | //! |-------------------------- |----------------|--------------------------| //! |ACMPn | Non-Mandatory | N | //! |-------------------------- |----------------|--------------------------| //! |RTC | Non-Mandatory | N | //! |-------------------------- |----------------|--------------------------| //! |GPIO | Non-Mandatory | N | //! |-------------------------- |----------------|--------------------------| //! //! +-------------------------- +----------------+--------------------------+ //! |Peripheral Clock source | CoX | NUC1xx | //! |---------------------------|----------------|--------------------------| //! |INT | Mandatory | Y | //! |---------------------------|----------------|--------------------------| //! |HCLK | Mandatory | Y | //! |---------------------------|----------------|--------------------------| //! |HCLK_n | Non-Mandatory | HCLK_2048 | //! |---------------------------|----------------|--------------------------| //! |EXTSL | Mandatory | Y | //! |---------------------------|----------------|--------------------------| //! |INTSL | Mandatory | Y | //! |---------------------------|----------------|--------------------------| //! |MAIN | Mandatory | Y | //! |---------------------------|----------------|--------------------------| //! |PLL | Mandatory | Y | //! |---------------------------|----------------|--------------------------| //! |PLL_n | Non-Mandatory | PLL_2 | //! |---------------------------|----------------|--------------------------| //! |EXTTRG | Non-Mandatory | Y | //! |---------------------------|----------------|--------------------------| //!