Macros
Collaboration diagram for SPI_data_size:

Macros

#define IS_SPI_DATA_SIZE(SIZE)
 
#define IS_SPI_DATASIZE(DATASIZE)
 
#define IS_SPI_DATASIZE(DATASIZE)
 
#define SPI_DataSize_10b   ((uint16_t)0x0900)
 
#define SPI_DataSize_11b   ((uint16_t)0x0A00)
 
#define SPI_DataSize_12b   ((uint16_t)0x0B00)
 
#define SPI_DataSize_13b   ((uint16_t)0x0C00)
 
#define SPI_DataSize_14b   ((uint16_t)0x0D00)
 
#define SPI_DataSize_15b   ((uint16_t)0x0E00)
 
#define SPI_DataSize_16b   ((uint16_t)0x0800)
 
#define SPI_DataSize_16b   ((uint16_t)0x0800)
 
#define SPI_DataSize_16b   ((uint16_t)0x0F00)
 
#define SPI_DataSize_4b   ((uint16_t)0x0300)
 
#define SPI_DataSize_5b   ((uint16_t)0x0400)
 
#define SPI_DataSize_6b   ((uint16_t)0x0500)
 
#define SPI_DataSize_7b   ((uint16_t)0x0600)
 
#define SPI_DataSize_8b   ((uint16_t)0x0000)
 
#define SPI_DataSize_8b   ((uint16_t)0x0700)
 
#define SPI_DataSize_8b   ((uint16_t)0x0000)
 
#define SPI_DataSize_9b   ((uint16_t)0x0800)
 

Detailed Description

Macro Definition Documentation

#define IS_SPI_DATA_SIZE (   SIZE)
Value:
(((SIZE) == SPI_DataSize_4b) || \
((SIZE) == SPI_DataSize_5b) || \
((SIZE) == SPI_DataSize_6b) || \
((SIZE) == SPI_DataSize_7b) || \
((SIZE) == SPI_DataSize_8b) || \
((SIZE) == SPI_DataSize_9b) || \
((SIZE) == SPI_DataSize_10b) || \
((SIZE) == SPI_DataSize_11b) || \
((SIZE) == SPI_DataSize_12b) || \
((SIZE) == SPI_DataSize_13b) || \
((SIZE) == SPI_DataSize_14b) || \
((SIZE) == SPI_DataSize_15b) || \
((SIZE) == SPI_DataSize_16b))
#define SPI_DataSize_16b
#define SPI_DataSize_5b
#define SPI_DataSize_12b
#define SPI_DataSize_7b
#define SPI_DataSize_9b
#define SPI_DataSize_11b
#define SPI_DataSize_8b
#define SPI_DataSize_10b
#define SPI_DataSize_4b
#define SPI_DataSize_15b
#define SPI_DataSize_6b
#define SPI_DataSize_14b
#define SPI_DataSize_13b

Definition at line 185 of file stm32f30x_spi.h.

#define IS_SPI_DATASIZE (   DATASIZE)
Value:
(((DATASIZE) == SPI_DataSize_16b) || \
((DATASIZE) == SPI_DataSize_8b))
#define SPI_DataSize_16b
#define SPI_DataSize_8b

Definition at line 158 of file stm32f10x_spi.h.

#define IS_SPI_DATASIZE (   DATASIZE)
Value:
(((DATASIZE) == SPI_DataSize_16b) || \
((DATASIZE) == SPI_DataSize_8b))
#define SPI_DataSize_16b
#define SPI_DataSize_8b

Definition at line 181 of file stm32f4xx_spi.h.

#define SPI_DataSize_10b   ((uint16_t)0x0900)

Definition at line 178 of file stm32f30x_spi.h.

#define SPI_DataSize_11b   ((uint16_t)0x0A00)

Definition at line 179 of file stm32f30x_spi.h.

#define SPI_DataSize_12b   ((uint16_t)0x0B00)

Definition at line 180 of file stm32f30x_spi.h.

#define SPI_DataSize_13b   ((uint16_t)0x0C00)

Definition at line 181 of file stm32f30x_spi.h.

#define SPI_DataSize_14b   ((uint16_t)0x0D00)

Definition at line 182 of file stm32f30x_spi.h.

#define SPI_DataSize_15b   ((uint16_t)0x0E00)

Definition at line 183 of file stm32f30x_spi.h.

#define SPI_DataSize_16b   ((uint16_t)0x0800)

Definition at line 156 of file stm32f10x_spi.h.

#define SPI_DataSize_16b   ((uint16_t)0x0800)

Definition at line 179 of file stm32f4xx_spi.h.

#define SPI_DataSize_16b   ((uint16_t)0x0F00)

Definition at line 184 of file stm32f30x_spi.h.

#define SPI_DataSize_4b   ((uint16_t)0x0300)

Definition at line 172 of file stm32f30x_spi.h.

#define SPI_DataSize_5b   ((uint16_t)0x0400)

Definition at line 173 of file stm32f30x_spi.h.

#define SPI_DataSize_6b   ((uint16_t)0x0500)

Definition at line 174 of file stm32f30x_spi.h.

#define SPI_DataSize_7b   ((uint16_t)0x0600)

Definition at line 175 of file stm32f30x_spi.h.

#define SPI_DataSize_8b   ((uint16_t)0x0000)

Definition at line 157 of file stm32f10x_spi.h.

#define SPI_DataSize_8b   ((uint16_t)0x0700)

Definition at line 176 of file stm32f30x_spi.h.

#define SPI_DataSize_8b   ((uint16_t)0x0000)

Definition at line 180 of file stm32f4xx_spi.h.

#define SPI_DataSize_9b   ((uint16_t)0x0800)

Definition at line 177 of file stm32f30x_spi.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:22