STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
Definition of the external data structure containing the initialization data More...
#include <Port_Types.h>
Data Fields | |
uint8 | Pin |
uint8 | Port |
uint8 | Pull |
uint8 | OutputDrive |
uint8 | Speed |
uint8 | Mode |
uint8 | DirChange |
uint8 | ModeChange |
Definition of the external data structure containing the initialization data
The Port_PortsConfigType data structure holds the initialization information for each port available on the microcontroller. An array of these structures must be defined in the Port_Cfg.c file, with each entry representing a specific port.
uint8 _Port_PinConfigType::DirChange |
Pin direction changeable during runtime
uint8 _Port_PinConfigType::Mode |
Input, Output, analog or any of the altern modes
uint8 _Port_PinConfigType::ModeChange |
Pin mode changeable during runtime
uint8 _Port_PinConfigType::OutputDrive |
Pus-Pull or Open conlector
uint8 _Port_PinConfigType::Pin |
Pins to configured
uint8 _Port_PinConfigType::Port |
Port where the pin to config is grouped
uint8 _Port_PinConfigType::Pull |
Pullup, pull down or no pull ressitor
uint8 _Port_PinConfigType::Speed |
Speed of the pin