PER Firmware
Loading...
Searching...
No Matches
gpio.c File Reference

GPIO Driver for STM32L432 Devices. More...

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.
 

Detailed Description

GPIO Driver for STM32L432 Devices.

Author
Adam Busch (busch.nosp@m.8@pu.nosp@m.rdue..nosp@m.edu)
Version
0.1
Date
2021-09-20

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