Functions | |
volatile uint16_t | sysGpio_Initialize (void) |
Resets the device input/output pins to digital inputs. More... | |
When the device comes out of RESET, all general purpose inputs/outputs (GPIO) are configured as high-impedance inputs. Sample and hold (S&H) circuits of ADC inputs are active and digital functions are blocked. Depending on the application, this may or may not be desired. Hence, this routine is used to set a different default state at startup where GPIOs are high impedance inputs but all analog functions are disabled.
uint16_t sysGpio_Initialize | ( | void | ) |
Resets the device input/output pins to digital inputs.
When the device is coming out of RESET, all device pins are configured as inputs and all analog functions will be enabled. Enabled analog functions are a potential source for conflicts and are therefore turned off by default during device startup to allow all peripheral configuration drivers to start from a defined default state.
Definition at line 27 of file init_gpio.c.