PER Firmware
Loading...
Searching...
No Matches
gpio.c File Reference
Include dependency graph for gpio.c:

Functions

bool PHAL_initGPIO (GPIOInitConfig_t config[], uint8_t config_len)
 Initilize the GPIO perpheral given a list of configuration fields for all of the GPIO pins. Will also enable the GPIO RCC clock.
 

Function Documentation

◆ PHAL_initGPIO()

bool PHAL_initGPIO ( GPIOInitConfig_t config[],
uint8_t config_len )

Initilize the GPIO perpheral given a list of configuration fields for all of the GPIO pins. Will also enable the GPIO RCC clock.

Parameters
configA list of GPIOs to config
config_lenNumber of GPIOs in the config list
Returns
true All GPIOs were a valid configuration format
false Some of the GPIOs had an invalid configuration format
Here is the caller graph for this function: