efr32fg14 EVM harware difference between Input and pushpull

Thread Starter

yef smith

Joined Aug 2, 2020
717
Hello, in the code bellow i see that gpio pins is defined as input or as pushpull.
I am trying to look at the manual diagram shown bellow , how "hardware wise" pushpull work and how "input" works?
Thanks.
data sheet:
https://www.silabs.com/documents/public/data-sheets/efr32fg14-datasheet.pdf

reference manual page 1069:
https://www.silabs.com/documents/public/reference-manuals/efr32xg14-rm.pdf
1672955454311.png


Code:
GPIO_PinModeSet(BSP_GPIO_PB0_PORT, BSP_GPIO_PB0_PIN, gpioModeInput, 0);
//  GPIO_PinModeSet(BSP_GPIO_PB1_PORT, BSP_GPIO_PB1_PIN, gpioModeInput, 0);

  // Configure LED0 and LED1 as output
  GPIO_PinModeSet(BSP_GPIO_LED0_PORT, BSP_GPIO_LED0_PIN, gpioModePushPull, 0);

  GPIO_PinModeSet(BSP_GPIO_LED1_PORT, BSP_GPIO_LED1_PIN, gpioModePushPull, 0);
 
Last edited:
Top