Contains the BSP driver for the B-L475E-IOT01 board.
Dependents: mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more
stm32l475e_iot01.c File Reference
STM32L475E-IOT01 board support package. More...
Go to the source code of this file.
Functions | |
static void | I2Cx_MspInit (I2C_HandleTypeDef *i2c_handler) |
Initializes I2C MSP. | |
static void | I2Cx_MspDeInit (I2C_HandleTypeDef *i2c_handler) |
DeInitializes I2C MSP. | |
static void | I2Cx_Init (I2C_HandleTypeDef *i2c_handler) |
Initializes I2C HAL. | |
static void | I2Cx_DeInit (I2C_HandleTypeDef *i2c_handler) |
DeInitializes I2C HAL. | |
static HAL_StatusTypeDef | I2Cx_ReadMultiple (I2C_HandleTypeDef *i2c_handler, uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) |
Reads multiple data. | |
static HAL_StatusTypeDef | I2Cx_WriteMultiple (I2C_HandleTypeDef *i2c_handler, uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) |
Writes a value in a register of the device through BUS in using DMA mode. | |
static HAL_StatusTypeDef | I2Cx_IsDeviceReady (I2C_HandleTypeDef *i2c_handler, uint16_t DevAddress, uint32_t Trials) |
Checks if target device is ready for communication. | |
static void | I2Cx_Error (I2C_HandleTypeDef *i2c_handler, uint8_t Addr) |
Manages error callback by re-initializing I2C. | |
void | SENSOR_IO_Init (void) |
Initializes Sensors low level. | |
void | SENSOR_IO_DeInit (void) |
DeInitializes Sensors low level. | |
void | SENSOR_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
Writes a single data. | |
uint8_t | SENSOR_IO_Read (uint8_t Addr, uint8_t Reg) |
Reads a single data. | |
uint16_t | SENSOR_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
Reads multiple data with I2C communication channel from TouchScreen. | |
void | SENSOR_IO_WriteMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
Writes multiple data with I2C communication channel from MCU to TouchScreen. | |
HAL_StatusTypeDef | SENSOR_IO_IsDeviceReady (uint16_t DevAddress, uint32_t Trials) |
Checks if target device is ready for communication. | |
void | SENSOR_IO_Delay (uint32_t Delay) |
Delay function used in Sensor low level driver. | |
void | NFC_IO_Init (uint8_t GpoIrqEnable) |
Initializes Sensors low level. | |
void | NFC_IO_DeInit (void) |
DeInitializes Sensors low level. | |
uint16_t | NFC_IO_ReadMultiple (uint8_t Addr, uint8_t *pBuffer, uint16_t Length) |
This functions reads a response of the M24SR device. | |
uint16_t | NFC_IO_WriteMultiple (uint8_t Addr, uint8_t *pBuffer, uint16_t Length) |
This functions sends the command buffer. | |
uint16_t | NFC_IO_IsDeviceReady (uint8_t Addr, uint32_t Trials) |
Checks if target device is ready for communication. | |
void | NFC_IO_ReadState (uint8_t *pPinState) |
This function read the state of the M24SR GPO. | |
void | NFC_IO_RfDisable (uint8_t PinState) |
This function sets the state of the M24SR RF disable pin. | |
void | NFC_IO_Delay (uint32_t Delay) |
Delay function used in M24SR low level driver. | |
uint32_t | BSP_GetVersion (void) |
This method returns the STM32L475E IOT01 BSP Driver revision. | |
void | BSP_LED_Init (Led_TypeDef Led) |
Initializes LED GPIO. | |
void | BSP_LED_DeInit (Led_TypeDef Led) |
DeInitializes LED GPIO. | |
void | BSP_LED_On (Led_TypeDef Led) |
Turns the selected LED On. | |
void | BSP_LED_Off (Led_TypeDef Led) |
Turns the selected LED Off. | |
void | BSP_LED_Toggle (Led_TypeDef Led) |
Toggles the selected LED. | |
void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef ButtonMode) |
Initializes push button GPIO and EXTI Line. | |
void | BSP_PB_DeInit (Button_TypeDef Button) |
DeInitializes push button. | |
uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected button state. | |
void | BSP_COM_Init (COM_TypeDef COM, UART_HandleTypeDef *huart) |
Configures COM port. | |
void | BSP_COM_DeInit (COM_TypeDef COM, UART_HandleTypeDef *huart) |
DeInitializes COM port. |
Detailed Description
STM32L475E-IOT01 board support package.
- Attention:
© Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l475e_iot01.c.
Generated on Tue Jul 12 2022 13:55:42 by 1.7.2