IRPyro Micro controller template only
Routines to enable the MCU to use the USART and the I2C
IRPyro initialization of GPIO structure.

Initializes the GPIO structure. More...

Collaboration diagram for IRPyro initialization of GPIO structure.:

Functions

static void GPIO_structure_init (uint32_t GPIO_Pin_x, GPIOMode_TypeDef GPIO_Mode, GPIOOType_TypeDef Output_Type, GPIOSpeed_TypeDef Speed, GPIOPuPd_TypeDef PuPd, GPIO_TypeDef *GPIOx)
 Populates and initializes GPIO structures. More...
 

Detailed Description

Initializes the GPIO structure.

*    The GPIO implementation on the STM32F3 micro controllers
*    provides architecture independence to the IRPyro API
* 
Attention
Modify accordingly depending on architecture

Function Documentation

◆ GPIO_structure_init()

void GPIO_structure_init ( uint32_t  GPIO_Pin_x,
GPIOMode_TypeDef  GPIO_Mode,
GPIOOType_TypeDef  Output_Type,
GPIOSpeed_TypeDef  Speed,
GPIOPuPd_TypeDef  PuPd,
GPIO_TypeDef *  GPIOx 
)
static

Populates and initializes GPIO structures.

Parameters
GPIO_Pin_xPin Number (can use bitwise operation for multiple pins)
GPIO_ModePort Mode, Input, Output, Analogue, Alternate Function
Output_TypePP or OD
SpeedGPIO Speed
PuPdPull up configuration, Up, Down, None
GPIOxGPIO Port: A,B,C,D,E,F
Return values
None
This function uses the ST libraries to configure the registers of
*           the GPIO pins. The purpose of this function is to offer a higher
*           level configuration for the pins, ensuring that the structure is
*           fully populated every time.
* 
Attention
Modify this function so the pins where the IRPyro are connected can be accessible according to the requirements of the chosen MCU

Definition at line 452 of file Micro_controller_template.c.

Here is the caller graph for this function: