TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

GPIO Typedefs used for GPIO library for initialization purposes. More...

Enumerations

enum  TM_GPIO_Mode_t { TM_GPIO_Mode_IN = 0x00, TM_GPIO_Mode_OUT = 0x01, TM_GPIO_Mode_AF = 0x02, TM_GPIO_Mode_AN = 0x03 }
 GPIO Mode enumeration. More...
 
enum  TM_GPIO_OType_t { TM_GPIO_OType_PP = 0x00, TM_GPIO_OType_OD = 0x01 }
 GPIO Output type enumeration. More...
 
enum  TM_GPIO_Speed_t { TM_GPIO_Speed_Low = 0x00, TM_GPIO_Speed_Medium = 0x01, TM_GPIO_Speed_Fast = 0x02, TM_GPIO_Speed_High = 0x03 }
 GPIO Speed enumeration. More...
 
enum  TM_GPIO_PuPd_t { TM_GPIO_PuPd_NOPULL = 0x00, TM_GPIO_PuPd_UP = 0x01, TM_GPIO_PuPd_DOWN = 0x02 }
 GPIO pull resistors enumeration. More...
 

Detailed Description

GPIO Typedefs used for GPIO library for initialization purposes.

Enumeration Type Documentation

GPIO Mode enumeration.

Enumerator
TM_GPIO_Mode_IN 

GPIO Pin as General Purpose Input

TM_GPIO_Mode_OUT 

GPIO Pin as General Purpose Output

TM_GPIO_Mode_AF 

GPIO Pin as Alternate Function

TM_GPIO_Mode_AN 

GPIO Pin as Analog input/output

GPIO Output type enumeration.

Enumerator
TM_GPIO_OType_PP 

GPIO Output Type Push-Pull

TM_GPIO_OType_OD 

GPIO Output Type Open-Drain

GPIO pull resistors enumeration.

Enumerator
TM_GPIO_PuPd_NOPULL 

No pull resistor

TM_GPIO_PuPd_UP 

Pull up resistor enabled

TM_GPIO_PuPd_DOWN 

Pull down resistor enabled

GPIO Speed enumeration.

Enumerator
TM_GPIO_Speed_Low 

GPIO Speed Low

TM_GPIO_Speed_Medium 

GPIO Speed Medium

TM_GPIO_Speed_Fast 

GPIO Speed Fast, not available on STM32F0xx devices

TM_GPIO_Speed_High 

GPIO Speed High