STM32L476G-Discovery BSP User Manual
|
Defines | |
#define | __SPI_DIRECTION_2LINES(__HANDLE__) |
#define | __SPI_DIRECTION_2LINES_RXONLY(__HANDLE__) |
#define | __SPI_DIRECTION_1LINE_TX(__HANDLE__) |
#define | __SPI_DIRECTION_1LINE_RX(__HANDLE__) |
Variables | |
GPIO_TypeDef * | LED_PORT [LEDn] |
LED variables. | |
const uint16_t | LED_PIN [LEDn] |
GPIO_TypeDef * | JOY_PORT [JOYn] |
JOYSTICK variables. | |
const uint16_t | JOY_PIN [JOYn] |
const uint8_t | JOY_IRQn [JOYn] |
uint32_t | I2c1Timeout = DISCOVERY_I2C2_TIMEOUT_MAX |
BUS variables. | |
uint32_t | I2c2Timeout = DISCOVERY_I2C2_TIMEOUT_MAX |
static I2C_HandleTypeDef | I2c1Handle |
static I2C_HandleTypeDef | I2c2Handle |
uint32_t | SpixTimeout = SPIx_TIMEOUT_MAX |
static SPI_HandleTypeDef | SpiHandle |
Define Documentation
#define __SPI_DIRECTION_1LINE_RX | ( | __HANDLE__ | ) |
do {\ CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_RXONLY | SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE);\ SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIMODE);\ } while(0);
Definition at line 164 of file stm32l476g_discovery.c.
Referenced by ACCELERO_IO_Read(), and MAGNETO_IO_Read().
#define __SPI_DIRECTION_1LINE_TX | ( | __HANDLE__ | ) |
do{\ CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_RXONLY | SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE);\ SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE);\ }while(0);
Definition at line 159 of file stm32l476g_discovery.c.
Referenced by ACCELERO_IO_Read(), ACCELERO_IO_Write(), MAGNETO_IO_Read(), and MAGNETO_IO_Write().
#define __SPI_DIRECTION_2LINES | ( | __HANDLE__ | ) |
do{\ CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_RXONLY | SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE);\ }while(0);
Definition at line 150 of file stm32l476g_discovery.c.
Referenced by GYRO_IO_Read(), and GYRO_IO_Write().
#define __SPI_DIRECTION_2LINES_RXONLY | ( | __HANDLE__ | ) |
do{\ CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_RXONLY | SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE);\ SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_RXONLY);\ }while(0);
Definition at line 154 of file stm32l476g_discovery.c.
Variable Documentation
I2C_HandleTypeDef I2c1Handle [static] |
Definition at line 143 of file stm32l476g_discovery.c.
Referenced by I2C1_DeInit(), I2C1_Error(), I2C1_Init(), I2C1_ReadBuffer(), and I2C1_WriteBuffer().
uint32_t I2c1Timeout = DISCOVERY_I2C2_TIMEOUT_MAX |
BUS variables.
Definition at line 141 of file stm32l476g_discovery.c.
Referenced by I2C1_ReadBuffer(), and I2C1_WriteBuffer().
I2C_HandleTypeDef I2c2Handle [static] |
Definition at line 144 of file stm32l476g_discovery.c.
Referenced by I2C2_DeInit(), I2C2_Error(), I2C2_Init(), I2C2_ReadBuffer(), I2C2_ReadData(), I2C2_WriteBuffer(), and I2C2_WriteData().
uint32_t I2c2Timeout = DISCOVERY_I2C2_TIMEOUT_MAX |
Definition at line 142 of file stm32l476g_discovery.c.
Referenced by I2C2_ReadBuffer(), I2C2_ReadData(), I2C2_WriteBuffer(), and I2C2_WriteData().
Definition at line 131 of file stm32l476g_discovery.c.
Referenced by BSP_JOY_Init().
Definition at line 125 of file stm32l476g_discovery.c.
Referenced by BSP_JOY_DeInit(), BSP_JOY_GetState(), and BSP_JOY_Init().
JOYSTICK variables.
Definition at line 119 of file stm32l476g_discovery.c.
Referenced by BSP_JOY_DeInit(), BSP_JOY_GetState(), and BSP_JOY_Init().
Definition at line 105 of file stm32l476g_discovery.c.
Referenced by BSP_LED_DeInit(), BSP_LED_Init(), BSP_LED_Off(), BSP_LED_On(), and BSP_LED_Toggle().
LED variables.
Definition at line 102 of file stm32l476g_discovery.c.
Referenced by BSP_LED_DeInit(), BSP_LED_Init(), BSP_LED_Off(), BSP_LED_On(), and BSP_LED_Toggle().
SPI_HandleTypeDef SpiHandle [static] |
Definition at line 171 of file stm32l476g_discovery.c.
Referenced by ACCELERO_IO_Read(), ACCELERO_IO_Write(), GYRO_IO_Read(), GYRO_IO_Write(), MAGNETO_IO_Read(), MAGNETO_IO_Write(), SPIx_DeInit(), SPIx_Init(), SPIx_Read(), SPIx_Write(), and SPIx_WriteRead().
uint32_t SpixTimeout = SPIx_TIMEOUT_MAX |
Definition at line 170 of file stm32l476g_discovery.c.
Generated on Tue Jun 23 2015 17:15:45 for STM32L476G-Discovery BSP User Manual by 1.7.6.1