TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
TM_SPI_Typedefs

Library Typedefs. More...

Enumerations

enum  TM_SPI_Mode_t { TM_SPI_Mode_0, TM_SPI_Mode_1, TM_SPI_Mode_2, TM_SPI_Mode_3 }
 SPI modes selection. More...
 
enum  TM_SPI_PinsPack_t { TM_SPI_PinsPack_1, TM_SPI_PinsPack_2, TM_SPI_PinsPack_3, TM_SPI_PinsPack_Custom }
 USART PinsPack enumeration to select pins combination for USART. More...
 
enum  TM_SPI_DataSize_t { TM_SPI_DataSize_8b, TM_SPI_DataSize_16b }
 Daza size enumeration. More...
 

Detailed Description

Library Typedefs.

Enumeration Type Documentation

Daza size enumeration.

Enumerator
TM_SPI_DataSize_8b 

SPI in 8-bits mode

TM_SPI_DataSize_16b 

SPI in 16-bits mode

SPI modes selection.

Enumerator
TM_SPI_Mode_0 

Clock polarity low, clock phase 1st edge

TM_SPI_Mode_1 

Clock polarity low, clock phase 2nd edge

TM_SPI_Mode_2 

Clock polarity high, clock phase 1st edge

TM_SPI_Mode_3 

Clock polarity high, clock phase 2nd edge

USART PinsPack enumeration to select pins combination for USART.

Enumerator
TM_SPI_PinsPack_1 

Select PinsPack1 from Pinout table for specific SPI

TM_SPI_PinsPack_2 

Select PinsPack2 from Pinout table for specific SPI

TM_SPI_PinsPack_3 

Select PinsPack3 from Pinout table for specific SPI

TM_SPI_PinsPack_Custom 

Select custom pins for specific SPI, callback will be called, look TM_SPI_InitCustomPinsCallback