EFM32 Tiny Gecko Software Documentation  efm32tg-doc-5.1.2
EFM32TG_AF_Pins

Detailed Description

Macros

#define AF_ACMP0_OUT_PIN(i)    ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 6 : -1)
 
#define AF_ACMP1_OUT_PIN(i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 7 : -1)
 
#define AF_CMU_CLK0_PIN(i)    ((i) == 0 ? 2 : (i) == 1 ? 12 : (i) == 2 ? 7 : -1)
 
#define AF_CMU_CLK1_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 8 : (i) == 2 ? 12 : -1)
 
#define AF_DBG_SWCLK_PIN(i)    ((i) == 0 ? 0 : (i) == 1 ? 0 : -1)
 
#define AF_DBG_SWDIO_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 1 : -1)
 
#define AF_DBG_SWO_PIN(i)    ((i) == 0 ? 2 : (i) == 1 ? 15 : -1)
 
#define AF_I2C0_SCL_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 7 : (i) == 2 ? 7 : (i) == 3 ? -1 : (i) == 4 ? 1 : (i) == 5 ? 1 : (i) == 6 ? 13 : -1)
 
#define AF_I2C0_SDA_PIN(i)    ((i) == 0 ? 0 : (i) == 1 ? 6 : (i) == 2 ? 6 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 0 : (i) == 6 ? 12 : -1)
 
#define AF_LESENSE_ALTEX0_PIN(i)    ((i) == 0 ? 6 : -1)
 
#define AF_LESENSE_ALTEX1_PIN(i)    ((i) == 0 ? 7 : -1)
 
#define AF_LESENSE_ALTEX2_PIN(i)    ((i) == 0 ? 3 : -1)
 
#define AF_LESENSE_ALTEX3_PIN(i)    ((i) == 0 ? 4 : -1)
 
#define AF_LESENSE_ALTEX4_PIN(i)    ((i) == 0 ? 5 : -1)
 
#define AF_LESENSE_ALTEX5_PIN(i)    ((i) == 0 ? 11 : -1)
 
#define AF_LESENSE_ALTEX6_PIN(i)    ((i) == 0 ? 12 : -1)
 
#define AF_LESENSE_ALTEX7_PIN(i)    ((i) == 0 ? 13 : -1)
 
#define AF_LESENSE_CH0_PIN(i)    ((i) == 0 ? 0 : -1)
 
#define AF_LESENSE_CH10_PIN(i)    ((i) == 0 ? 10 : -1)
 
#define AF_LESENSE_CH11_PIN(i)    ((i) == 0 ? 11 : -1)
 
#define AF_LESENSE_CH12_PIN(i)    ((i) == 0 ? 12 : -1)
 
#define AF_LESENSE_CH13_PIN(i)    ((i) == 0 ? 13 : -1)
 
#define AF_LESENSE_CH14_PIN(i)    ((i) == 0 ? 14 : -1)
 
#define AF_LESENSE_CH15_PIN(i)    ((i) == 0 ? 15 : -1)
 
#define AF_LESENSE_CH1_PIN(i)    ((i) == 0 ? 1 : -1)
 
#define AF_LESENSE_CH2_PIN(i)    ((i) == 0 ? 2 : -1)
 
#define AF_LESENSE_CH3_PIN(i)    ((i) == 0 ? 3 : -1)
 
#define AF_LESENSE_CH4_PIN(i)    ((i) == 0 ? 4 : -1)
 
#define AF_LESENSE_CH5_PIN(i)    ((i) == 0 ? 5 : -1)
 
#define AF_LESENSE_CH6_PIN(i)    ((i) == 0 ? 6 : -1)
 
#define AF_LESENSE_CH7_PIN(i)    ((i) == 0 ? 7 : -1)
 
#define AF_LESENSE_CH8_PIN(i)    ((i) == 0 ? 8 : -1)
 
#define AF_LESENSE_CH9_PIN(i)    ((i) == 0 ? 9 : -1)
 
#define AF_LETIMER0_OUT0_PIN(i)    ((i) == 0 ? 6 : (i) == 1 ? 11 : (i) == 2 ? 0 : (i) == 3 ? 4 : -1)
 
#define AF_LETIMER0_OUT1_PIN(i)    ((i) == 0 ? 7 : (i) == 1 ? 12 : (i) == 2 ? 1 : (i) == 3 ? 5 : -1)
 
#define AF_LEUART0_RX_PIN(i)    ((i) == 0 ? 5 : (i) == 1 ? 14 : (i) == 2 ? 15 : (i) == 3 ? 1 : (i) == 4 ? 0 : -1)
 
#define AF_LEUART0_TX_PIN(i)    ((i) == 0 ? 4 : (i) == 1 ? 13 : (i) == 2 ? 14 : (i) == 3 ? 0 : (i) == 4 ? 2 : -1)
 
#define AF_PCNT0_S0IN_PIN(i)    ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 0 : (i) == 3 ? 6 : -1)
 
#define AF_PCNT0_S1IN_PIN(i)    ((i) == 0 ? 14 : (i) == 1 ? -1 : (i) == 2 ? 1 : (i) == 3 ? 7 : -1)
 
#define AF_PRS_CH0_PIN(i)    ((i) == 0 ? 0 : (i) == 1 ? 3 : -1)
 
#define AF_PRS_CH1_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 4 : -1)
 
#define AF_PRS_CH2_PIN(i)    ((i) == 0 ? 0 : (i) == 1 ? 5 : -1)
 
#define AF_PRS_CH3_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 8 : -1)
 
#define AF_TIMER0_CC0_PIN(i)    ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 0 : (i) == 5 ? 0 : -1)
 
#define AF_TIMER0_CC1_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? 2 : (i) == 4 ? 0 : (i) == 5 ? 1 : -1)
 
#define AF_TIMER0_CC2_PIN(i)    ((i) == 0 ? 2 : (i) == 1 ? 2 : (i) == 2 ? -1 : (i) == 3 ? 3 : (i) == 4 ? 1 : (i) == 5 ? 2 : -1)
 
#define AF_TIMER0_CDTI0_PIN(i)    (-1)
 
#define AF_TIMER0_CDTI1_PIN(i)    (-1)
 
#define AF_TIMER0_CDTI2_PIN(i)    (-1)
 
#define AF_TIMER1_CC0_PIN(i)    ((i) == 0 ? 13 : (i) == 1 ? 10 : (i) == 2 ? -1 : (i) == 3 ? 7 : (i) == 4 ? 6 : -1)
 
#define AF_TIMER1_CC1_PIN(i)    ((i) == 0 ? 14 : (i) == 1 ? 11 : (i) == 2 ? -1 : (i) == 3 ? 8 : (i) == 4 ? 7 : -1)
 
#define AF_TIMER1_CC2_PIN(i)    ((i) == 0 ? 15 : (i) == 1 ? 12 : (i) == 2 ? -1 : (i) == 3 ? 11 : (i) == 4 ? 13 : -1)
 
#define AF_TIMER1_CDTI0_PIN(i)    (-1)
 
#define AF_TIMER1_CDTI1_PIN(i)    (-1)
 
#define AF_TIMER1_CDTI2_PIN(i)    (-1)
 
#define AF_USART0_CLK_PIN(i)    ((i) == 0 ? 12 : (i) == 1 ? 5 : (i) == 2 ? 9 : (i) == 3 ? 15 : (i) == 4 ? 13 : (i) == 5 ? 13 : -1)
 
#define AF_USART0_CS_PIN(i)    ((i) == 0 ? 13 : (i) == 1 ? 4 : (i) == 2 ? 8 : (i) == 3 ? 14 : (i) == 4 ? 14 : (i) == 5 ? 14 : -1)
 
#define AF_USART0_RX_PIN(i)    ((i) == 0 ? 11 : (i) == 1 ? 6 : (i) == 2 ? 10 : (i) == 3 ? 12 : (i) == 4 ? 8 : (i) == 5 ? 1 : -1)
 
#define AF_USART0_TX_PIN(i)    ((i) == 0 ? 10 : (i) == 1 ? 7 : (i) == 2 ? 11 : (i) == 3 ? 13 : (i) == 4 ? 7 : (i) == 5 ? 0 : -1)
 
#define AF_USART1_CLK_PIN(i)    ((i) == 0 ? 7 : (i) == 1 ? 2 : (i) == 2 ? 0 : -1)
 
#define AF_USART1_CS_PIN(i)    ((i) == 0 ? 8 : (i) == 1 ? 3 : (i) == 2 ? 1 : -1)
 
#define AF_USART1_RX_PIN(i)    ((i) == 0 ? 1 : (i) == 1 ? 1 : (i) == 2 ? 6 : -1)
 
#define AF_USART1_TX_PIN(i)    ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? 7 : -1)
 

Macro Definition Documentation

#define AF_CMU_CLK0_PIN (   i)    ((i) == 0 ? 2 : (i) == 1 ? 12 : (i) == 2 ? 7 : -1)

AF pin number for location number i

Definition at line 42 of file efm32tg_af_pins.h.