CoX Peripheral Interface V2.1
API Reference
SysCtl Peripheral Short Name

Values that show SysCtl Peripheral Source Clock The following are values that can be passed to the xSysCtlPeripheralClockSourceSet2() API as the ulPeripheral parameter. More...

Collaboration diagram for SysCtl Peripheral Short Name:

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

Detailed Description

Values that show SysCtl Peripheral Source Clock The following are values that can be passed to the xSysCtlPeripheralClockSourceSet2() API as the ulPeripheral parameter.

SysCtl Peripheral Short Name define

The macros of General Peripheral Short Name always like: ModuleName + n , such as CAN0, ADC0.

CoX Port Details

//! +-------------------------- +----------------+--------------------------+
//! |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            |
//! |---------------------------|----------------|--------------------------|
//! 

Define Documentation

#define ADC0

Definition at line 701 of file xsysctl.h.

#define PWMB

Definition at line 702 of file xsysctl.h.

#define PWMA

Definition at line 703 of file xsysctl.h.

#define FRQDIV

Definition at line 704 of file xsysctl.h.

#define I2S0

Definition at line 705 of file xsysctl.h.

#define TIMER0

Definition at line 706 of file xsysctl.h.

#define TIMER1

Definition at line 707 of file xsysctl.h.

#define TIMER2

Definition at line 708 of file xsysctl.h.

#define TIMER3

Definition at line 709 of file xsysctl.h.

#define UART0

Definition at line 710 of file xsysctl.h.

#define UART1

Definition at line 711 of file xsysctl.h.

#define UART2

Definition at line 712 of file xsysctl.h.

#define CAN0

Definition at line 713 of file xsysctl.h.

#define WDT0

Definition at line 714 of file xsysctl.h.

#define INT

internal high speed oscillator

Definition at line 719 of file xsysctl.h.

#define HCLK

The system clock.

Definition at line 724 of file xsysctl.h.

#define HCLK_2048

The system clock divide by 2048.

Definition at line 729 of file xsysctl.h.

#define EXTSL

external low speed crystal

Definition at line 734 of file xsysctl.h.

#define INTSL

internal low speed oscillator

Definition at line 739 of file xsysctl.h.

#define MAIN

external high speed oscillator

Definition at line 744 of file xsysctl.h.

#define PLL

PLL output.

Definition at line 749 of file xsysctl.h.

#define PLL_2

PLL output divide by 2.

Definition at line 754 of file xsysctl.h.

#define EXTTRG

external clock input

Definition at line 759 of file xsysctl.h.