Detailed Description
xGPIO Peripheral Pin define?
The macros of General Peripheral Pin Name always like: ModuleName + n + PinName , such as I2C0SCK, SPI1CLK.
CoX Port Details
//! +------------------------+----------------+------------------------+
//! |General Peripheral Pin | CoX | M051 |
//! |------------------------|----------------|------------------------|
//! |ADCn | Mandatory | ADC0 ADC1 ... ADC7 |
//! |------------------------|----------------|------------------------|
//! |I2CnSCK | Mandatory | I2C0SCK |
//! |------------------------|----------------|------------------------|
//! |I2CnSDA | Mandatory | I2C0SDA |
//! |------------------------|----------------|------------------------|
//! |SPInCLK | Mandatory | SPI0CLK SPI1CLK |
//! |------------------------|----------------|------------------------|
//! |SPInMOSI | Mandatory | SPI0MOSI SPI1MOSI |
//! |------------------------|----------------|------------------------|
//! |SPInMISO | Mandatory | SPI0MISO SPI1MISO |
//! |------------------------|----------------|------------------------|
//! |SPInCS | Mandatory | SPI0CS SPI1CS |
//! |------------------------|----------------|------------------------|
//! |UARTnRX | Mandatory | UART0RX UART1RX |
//! |------------------------|----------------|------------------------|
//! |UARTnTX | Mandatory | UART0TX UART1TX |
//! |------------------------|----------------|------------------------|
//! |UARTnCTS | Mandatory | UART0CTS UART1CTS |
//! |------------------------|----------------|------------------------|
//! |UARTnRTS | Mandatory | UART0RTS UART1RTS |
//! |------------------------|----------------|------------------------|
//! |CMPnN | Mandatory | CMP0N CMP1N |
//! |------------------------|----------------|------------------------|
//! |CMPnP | Mandatory | CMP0P CMP1P |
//! |------------------------|----------------|------------------------|
//! |CMPnO | Mandatory | CMP0O CMP1O |
//! |------------------------|----------------|------------------------|
//! |PWMn | Mandatory | PWM0 ... PWM7 |
//! |------------------------|----------------|------------------------|
//! |TIMCCPn | Mandatory | TIMCCP0 ... TIMCCP3 |
//! +------------------------+----------------+------------------------+
//!
Define Documentation