STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
_Port_PinConfigType Struct Reference

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
 

Detailed Description

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.

Note
It is the responsibility of the user to ensure that the values defined in this structure are valid and appropriate, as the Port Driver does not perform any validation. The values must be generated and validated within the code generation tool.
Requirement
SWS_Port_00228

Field Documentation

◆ DirChange

uint8 _Port_PinConfigType::DirChange

Pin direction changeable during runtime

◆ Mode

uint8 _Port_PinConfigType::Mode

Input, Output, analog or any of the altern modes

◆ ModeChange

uint8 _Port_PinConfigType::ModeChange

Pin mode changeable during runtime

◆ OutputDrive

uint8 _Port_PinConfigType::OutputDrive

Pus-Pull or Open conlector

◆ Pin

uint8 _Port_PinConfigType::Pin

Pins to configured

◆ Port

uint8 _Port_PinConfigType::Port

Port where the pin to config is grouped

◆ Pull

uint8 _Port_PinConfigType::Pull

Pullup, pull down or no pull ressitor

◆ Speed

uint8 _Port_PinConfigType::Speed

Speed of the pin


The documentation for this struct was generated from the following file: