IRPyro Micro controller template only
Routines to enable the MCU to use the USART and the I2C
|
Initializes the GPIO structure. More...
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... | |
Initializes the GPIO structure.
* The GPIO implementation on the STM32F3 micro controllers * provides architecture independence to the IRPyro API *
|
static |
Populates and initializes GPIO structures.
GPIO_Pin_x | Pin Number (can use bitwise operation for multiple pins) |
GPIO_Mode | Port Mode, Input, Output, Analogue, Alternate Function |
Output_Type | PP or OD |
Speed | GPIO Speed |
PuPd | Pull up configuration, Up, Down, None |
GPIOx | GPIO Port: A,B,C,D,E,F |
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. * |
Definition at line 452 of file Micro_controller_template.c.