EFM32HG_AF_PinsDevices

Macros

#define AF_ACMP0_OUT_PIN (i)    ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 6 : (i) == 3 ? 11 : -1)
#define AF_CMU_CLK0_PIN (i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 7 : (i) == 3 ? 2 : -1)
#define AF_CMU_CLK1_PIN (i)    ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 12 : (i) == 3 ? 11 : -1)
#define AF_DBG_SWCLK_PIN (i)    ((i) == 0 ? 0 : -1)
#define AF_DBG_SWDIO_PIN (i)    ((i) == 0 ? 1 : -1)
#define AF_I2C0_SCL_PIN (i)    ((i) == 0 ? 1 : (i) == 1 ? 7 : (i) == 2 ? -1 : (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 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 0 : (i) == 6 ? 12 : -1)
#define AF_LEUART0_RX_PIN (i)    ((i) == 0 ? 5 : (i) == 1 ? 14 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 0 : (i) == 5 ? 15 : -1)
#define AF_LEUART0_TX_PIN (i)    ((i) == 0 ? 4 : (i) == 1 ? 13 : (i) == 2 ? -1 : (i) == 3 ? 0 : (i) == 4 ? 2 : (i) == 5 ? 14 : -1)
#define AF_PCNT0_S0IN_PIN (i)    ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 0 : (i) == 3 ? 6 : (i) == 4 ? 0 : -1)
#define AF_PCNT0_S1IN_PIN (i)    ((i) == 0 ? 14 : (i) == 1 ? -1 : (i) == 2 ? 1 : (i) == 3 ? 7 : (i) == 4 ? 11 : -1)
#define AF_PRS_CH0_PIN (i)    ((i) == 0 ? 0 : (i) == 1 ? 3 : (i) == 2 ? 14 : (i) == 3 ? 2 : -1)
#define AF_PRS_CH1_PIN (i)    ((i) == 0 ? 1 : (i) == 1 ? 4 : (i) == 2 ? 15 : (i) == 3 ? 12 : -1)
#define AF_PRS_CH2_PIN (i)    ((i) == 0 ? 0 : (i) == 1 ? 5 : (i) == 2 ? 10 : (i) == 3 ? 13 : -1)
#define AF_PRS_CH3_PIN (i)    ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 11 : (i) == 3 ? 0 : -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 : (i) == 6 ? 1 : -1)
#define AF_TIMER0_CC1_PIN (i)    ((i) == 0 ? 1 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 1 : (i) == 6 ? 0 : -1)
#define AF_TIMER0_CC2_PIN (i)    ((i) == 0 ? 2 : (i) == 1 ? 2 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 1 : (i) == 5 ? 2 : (i) == 6 ? 2 : -1)
#define AF_TIMER0_CDTI0_PIN (i)    ((i) == 0 ? -1 : (i) == 1 ? 13 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 3 : (i) == 6 ? 13 : -1)
#define AF_TIMER0_CDTI1_PIN (i)    ((i) == 0 ? -1 : (i) == 1 ? 14 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 3 : (i) == 5 ? 4 : (i) == 6 ? 14 : -1)
#define AF_TIMER0_CDTI2_PIN (i)    ((i) == 0 ? -1 : (i) == 1 ? 15 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 4 : (i) == 5 ? 5 : (i) == 6 ? 15 : -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_TIMER2_CC0_PIN (i)    ((i) == 0 ? 8 : (i) == 1 ? -1 : (i) == 2 ? 8 : (i) == 3 ? 2 : -1)
#define AF_TIMER2_CC1_PIN (i)    ((i) == 0 ? 9 : (i) == 1 ? -1 : (i) == 2 ? 9 : (i) == 3 ? 12 : -1)
#define AF_TIMER2_CC2_PIN (i)    ((i) == 0 ? 10 : (i) == 1 ? -1 : (i) == 2 ? 10 : (i) == 3 ? 13 : -1)
#define AF_TIMER2_CDTI0_PIN (i)    (-1)
#define AF_TIMER2_CDTI1_PIN (i)    (-1)
#define AF_TIMER2_CDTI2_PIN (i)    (-1)
#define AF_USART0_CLK_PIN (i)    ((i) == 0 ? 12 : (i) == 1 ? -1 : (i) == 2 ? 9 : (i) == 3 ? 15 : (i) == 4 ? 13 : (i) == 5 ? 13 : (i) == 6 ? 12 : -1)
#define AF_USART0_CS_PIN (i)    ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 8 : (i) == 3 ? 14 : (i) == 4 ? 14 : (i) == 5 ? 14 : (i) == 6 ? 13 : -1)
#define AF_USART0_RX_PIN (i)    ((i) == 0 ? 11 : (i) == 1 ? -1 : (i) == 2 ? 10 : (i) == 3 ? 12 : (i) == 4 ? 8 : (i) == 5 ? 1 : (i) == 6 ? 1 : -1)
#define AF_USART0_TX_PIN (i)    ((i) == 0 ? 10 : (i) == 1 ? -1 : (i) == 2 ? 11 : (i) == 3 ? 13 : (i) == 4 ? 7 : (i) == 5 ? 0 : (i) == 6 ? 0 : -1)
#define AF_USART1_CLK_PIN (i)    ((i) == 0 ? 7 : (i) == 1 ? -1 : (i) == 2 ? 0 : (i) == 3 ? 15 : (i) == 4 ? 11 : (i) == 5 ? 3 : -1)
#define AF_USART1_CS_PIN (i)    ((i) == 0 ? 8 : (i) == 1 ? -1 : (i) == 2 ? 1 : (i) == 3 ? 14 : (i) == 4 ? 14 : (i) == 5 ? 0 : -1)
#define AF_USART1_RX_PIN (i)    ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 6 : (i) == 3 ? 6 : (i) == 4 ? 0 : (i) == 5 ? 2 : -1)
#define AF_USART1_TX_PIN (i)    ((i) == 0 ? 0 : (i) == 1 ? -1 : (i) == 2 ? 7 : (i) == 3 ? 7 : (i) == 4 ? 2 : (i) == 5 ? 1 : -1)
#define AF_USB_DMPU_PIN (i)    ((i) == 0 ? 0 : -1)

Macro Definition Documentation

#define AF_ACMP0_OUT_PIN ( i ) ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 6 : (i) == 3 ? 11 : -1)

Pin number for AF_ACMP0_OUT location number i

Definition at line 68 of file efm32hg_af_pins.h .

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

Pin number for AF_CMU_CLK0 location number i

Definition at line 48 of file efm32hg_af_pins.h .

#define AF_CMU_CLK1_PIN ( i ) ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 12 : (i) == 3 ? 11 : -1)

Pin number for AF_CMU_CLK1 location number i

Definition at line 49 of file efm32hg_af_pins.h .

#define AF_DBG_SWCLK_PIN ( i ) ((i) == 0 ? 0 : -1)

Pin number for AF_DBG_SWCLK location number i

Definition at line 88 of file efm32hg_af_pins.h .

#define AF_DBG_SWDIO_PIN ( i ) ((i) == 0 ? 1 : -1)

Pin number for AF_DBG_SWDIO location number i

Definition at line 87 of file efm32hg_af_pins.h .

#define AF_I2C0_SCL_PIN ( i ) ((i) == 0 ? 1 : (i) == 1 ? 7 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 1 : (i) == 5 ? 1 : (i) == 6 ? 13 : -1)

Pin number for AF_I2C0_SCL location number i

Definition at line 86 of file efm32hg_af_pins.h .

#define AF_I2C0_SDA_PIN ( i ) ((i) == 0 ? 0 : (i) == 1 ? 6 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 0 : (i) == 6 ? 12 : -1)

Pin number for AF_I2C0_SDA location number i

Definition at line 85 of file efm32hg_af_pins.h .

#define AF_LEUART0_RX_PIN ( i ) ((i) == 0 ? 5 : (i) == 1 ? 14 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 0 : (i) == 5 ? 15 : -1)

Pin number for AF_LEUART0_RX location number i

Definition at line 82 of file efm32hg_af_pins.h .

#define AF_LEUART0_TX_PIN ( i ) ((i) == 0 ? 4 : (i) == 1 ? 13 : (i) == 2 ? -1 : (i) == 3 ? 0 : (i) == 4 ? 2 : (i) == 5 ? 14 : -1)

Pin number for AF_LEUART0_TX location number i

Definition at line 81 of file efm32hg_af_pins.h .

#define AF_PCNT0_S0IN_PIN ( i ) ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 0 : (i) == 3 ? 6 : (i) == 4 ? 0 : -1)

Pin number for AF_PCNT0_S0IN location number i

Definition at line 83 of file efm32hg_af_pins.h .

#define AF_PCNT0_S1IN_PIN ( i ) ((i) == 0 ? 14 : (i) == 1 ? -1 : (i) == 2 ? 1 : (i) == 3 ? 7 : (i) == 4 ? 11 : -1)

Pin number for AF_PCNT0_S1IN location number i

Definition at line 84 of file efm32hg_af_pins.h .

#define AF_PRS_CH0_PIN ( i ) ((i) == 0 ? 0 : (i) == 1 ? 3 : (i) == 2 ? 14 : (i) == 3 ? 2 : -1)

Pin number for AF_PRS_CH0 location number i

Definition at line 77 of file efm32hg_af_pins.h .

#define AF_PRS_CH1_PIN ( i ) ((i) == 0 ? 1 : (i) == 1 ? 4 : (i) == 2 ? 15 : (i) == 3 ? 12 : -1)

Pin number for AF_PRS_CH1 location number i

Definition at line 78 of file efm32hg_af_pins.h .

#define AF_PRS_CH2_PIN ( i ) ((i) == 0 ? 0 : (i) == 1 ? 5 : (i) == 2 ? 10 : (i) == 3 ? 13 : -1)

Pin number for AF_PRS_CH2 location number i

Definition at line 79 of file efm32hg_af_pins.h .

#define AF_PRS_CH3_PIN ( i ) ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 11 : (i) == 3 ? 0 : -1)

Pin number for AF_PRS_CH3 location number i

Definition at line 80 of file efm32hg_af_pins.h .

#define AF_TIMER0_CC0_PIN ( i ) ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 0 : (i) == 6 ? 1 : -1)

Pin number for AF_TIMER0_CC0 location number i

Definition at line 50 of file efm32hg_af_pins.h .

#define AF_TIMER0_CC1_PIN ( i ) ((i) == 0 ? 1 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 1 : (i) == 6 ? 0 : -1)

Pin number for AF_TIMER0_CC1 location number i

Definition at line 51 of file efm32hg_af_pins.h .

#define AF_TIMER0_CC2_PIN ( i ) ((i) == 0 ? 2 : (i) == 1 ? 2 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 1 : (i) == 5 ? 2 : (i) == 6 ? 2 : -1)

Pin number for AF_TIMER0_CC2 location number i

Definition at line 52 of file efm32hg_af_pins.h .

#define AF_TIMER0_CDTI0_PIN ( i ) ((i) == 0 ? -1 : (i) == 1 ? 13 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 3 : (i) == 6 ? 13 : -1)

Pin number for AF_TIMER0_CDTI0 location number i

Definition at line 53 of file efm32hg_af_pins.h .

#define AF_TIMER0_CDTI1_PIN ( i ) ((i) == 0 ? -1 : (i) == 1 ? 14 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 3 : (i) == 5 ? 4 : (i) == 6 ? 14 : -1)

Pin number for AF_TIMER0_CDTI1 location number i

Definition at line 54 of file efm32hg_af_pins.h .

#define AF_TIMER0_CDTI2_PIN ( i ) ((i) == 0 ? -1 : (i) == 1 ? 15 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 4 : (i) == 5 ? 5 : (i) == 6 ? 15 : -1)

Pin number for AF_TIMER0_CDTI2 location number i

Definition at line 55 of file efm32hg_af_pins.h .

#define AF_TIMER1_CC0_PIN ( i ) ((i) == 0 ? 13 : (i) == 1 ? 10 : (i) == 2 ? -1 : (i) == 3 ? 7 : (i) == 4 ? 6 : -1)

Pin number for AF_TIMER1_CC0 location number i

Definition at line 56 of file efm32hg_af_pins.h .

#define AF_TIMER1_CC1_PIN ( i ) ((i) == 0 ? 14 : (i) == 1 ? 11 : (i) == 2 ? -1 : (i) == 3 ? 8 : (i) == 4 ? 7 : -1)

Pin number for AF_TIMER1_CC1 location number i

Definition at line 57 of file efm32hg_af_pins.h .

#define AF_TIMER1_CC2_PIN ( i ) ((i) == 0 ? 15 : (i) == 1 ? 12 : (i) == 2 ? -1 : (i) == 3 ? 11 : (i) == 4 ? 13 : -1)

Pin number for AF_TIMER1_CC2 location number i

Definition at line 58 of file efm32hg_af_pins.h .

#define AF_TIMER1_CDTI0_PIN ( i ) (-1)

Pin number for AF_TIMER1_CDTI0 location number i

Definition at line 59 of file efm32hg_af_pins.h .

#define AF_TIMER1_CDTI1_PIN ( i ) (-1)

Pin number for AF_TIMER1_CDTI1 location number i

Definition at line 60 of file efm32hg_af_pins.h .

#define AF_TIMER1_CDTI2_PIN ( i ) (-1)

Pin number for AF_TIMER1_CDTI2 location number i

Definition at line 61 of file efm32hg_af_pins.h .

#define AF_TIMER2_CC0_PIN ( i ) ((i) == 0 ? 8 : (i) == 1 ? -1 : (i) == 2 ? 8 : (i) == 3 ? 2 : -1)

Pin number for AF_TIMER2_CC0 location number i

Definition at line 62 of file efm32hg_af_pins.h .

#define AF_TIMER2_CC1_PIN ( i ) ((i) == 0 ? 9 : (i) == 1 ? -1 : (i) == 2 ? 9 : (i) == 3 ? 12 : -1)

Pin number for AF_TIMER2_CC1 location number i

Definition at line 63 of file efm32hg_af_pins.h .

#define AF_TIMER2_CC2_PIN ( i ) ((i) == 0 ? 10 : (i) == 1 ? -1 : (i) == 2 ? 10 : (i) == 3 ? 13 : -1)

Pin number for AF_TIMER2_CC2 location number i

Definition at line 64 of file efm32hg_af_pins.h .

#define AF_TIMER2_CDTI0_PIN ( i ) (-1)

Pin number for AF_TIMER2_CDTI0 location number i

Definition at line 65 of file efm32hg_af_pins.h .

#define AF_TIMER2_CDTI1_PIN ( i ) (-1)

Pin number for AF_TIMER2_CDTI1 location number i

Definition at line 66 of file efm32hg_af_pins.h .

#define AF_TIMER2_CDTI2_PIN ( i ) (-1)

Pin number for AF_TIMER2_CDTI2 location number i

Definition at line 67 of file efm32hg_af_pins.h .

#define AF_USART0_CLK_PIN ( i ) ((i) == 0 ? 12 : (i) == 1 ? -1 : (i) == 2 ? 9 : (i) == 3 ? 15 : (i) == 4 ? 13 : (i) == 5 ? 13 : (i) == 6 ? 12 : -1)

Pin number for AF_USART0_CLK location number i

Definition at line 71 of file efm32hg_af_pins.h .

#define AF_USART0_CS_PIN ( i ) ((i) == 0 ? 13 : (i) == 1 ? -1 : (i) == 2 ? 8 : (i) == 3 ? 14 : (i) == 4 ? 14 : (i) == 5 ? 14 : (i) == 6 ? 13 : -1)

Pin number for AF_USART0_CS location number i

Definition at line 72 of file efm32hg_af_pins.h .

#define AF_USART0_RX_PIN ( i ) ((i) == 0 ? 11 : (i) == 1 ? -1 : (i) == 2 ? 10 : (i) == 3 ? 12 : (i) == 4 ? 8 : (i) == 5 ? 1 : (i) == 6 ? 1 : -1)

Pin number for AF_USART0_RX location number i

Definition at line 70 of file efm32hg_af_pins.h .

#define AF_USART0_TX_PIN ( i ) ((i) == 0 ? 10 : (i) == 1 ? -1 : (i) == 2 ? 11 : (i) == 3 ? 13 : (i) == 4 ? 7 : (i) == 5 ? 0 : (i) == 6 ? 0 : -1)

Pin number for AF_USART0_TX location number i

Definition at line 69 of file efm32hg_af_pins.h .

#define AF_USART1_CLK_PIN ( i ) ((i) == 0 ? 7 : (i) == 1 ? -1 : (i) == 2 ? 0 : (i) == 3 ? 15 : (i) == 4 ? 11 : (i) == 5 ? 3 : -1)

Pin number for AF_USART1_CLK location number i

Definition at line 75 of file efm32hg_af_pins.h .

#define AF_USART1_CS_PIN ( i ) ((i) == 0 ? 8 : (i) == 1 ? -1 : (i) == 2 ? 1 : (i) == 3 ? 14 : (i) == 4 ? 14 : (i) == 5 ? 0 : -1)

Pin number for AF_USART1_CS location number i

Definition at line 76 of file efm32hg_af_pins.h .

#define AF_USART1_RX_PIN ( i ) ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 6 : (i) == 3 ? 6 : (i) == 4 ? 0 : (i) == 5 ? 2 : -1)

Pin number for AF_USART1_RX location number i

Definition at line 74 of file efm32hg_af_pins.h .

#define AF_USART1_TX_PIN ( i ) ((i) == 0 ? 0 : (i) == 1 ? -1 : (i) == 2 ? 7 : (i) == 3 ? 7 : (i) == 4 ? 2 : (i) == 5 ? 1 : -1)

Pin number for AF_USART1_TX location number i

Definition at line 73 of file efm32hg_af_pins.h .

#define AF_USB_DMPU_PIN ( i ) ((i) == 0 ? 0 : -1)

Pin number for AF_USB_DMPU location number i

Definition at line 47 of file efm32hg_af_pins.h .