STM32469I-Discovery BSP User Manual: STM32469I Discovery LOW LEVEL

STM32469I-Discovery BSP Drivers

STM32469I-Discovery BSP User Manual
STM32469I Discovery LOW LEVEL

Modules

 STM32469I Discovery LOW LEVEL Private TypesDefinitions
 STM32469I Discovery LOW LEVEL Private Defines
 STM32469I Discovery LOW LEVEL Private Macros
 STM32469I Discovery LOW LEVEL Private Variables
 STM32469I Discovery LOW LEVEL Private FunctionPrototypes
 STM32469I Discovery BSP Public Functions
 STM32469I Discovery LOW LEVEL Private Functions
 STM32469I Discovery LOW LEVEL Exported Types
 STM32469I Discovery LOW LEVEL Exported Constants
 STM32469I Discovery LOW LEVEL Exported Macros
 STM32469I Discovery LOW LEVEL Exported Functions

Functions

void AUDIO_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value)
 Writes a single data.
uint8_t AUDIO_IO_Read (uint8_t Addr, uint8_t Reg)
 Reads a single data.
void AUDIO_IO_Delay (uint32_t Delay)
 AUDIO Codec delay.
HAL_StatusTypeDef EEPROM_IO_WriteData (uint16_t DevAddress, uint16_t MemAddress, uint8_t *pBuffer, uint32_t BufferSize)
 Write data to I2C EEPROM driver in using DMA channel.
HAL_StatusTypeDef EEPROM_IO_ReadData (uint16_t DevAddress, uint16_t MemAddress, uint8_t *pBuffer, uint32_t BufferSize)
 Read data from I2C EEPROM driver in using DMA channel.
HAL_StatusTypeDef EEPROM_IO_IsDeviceReady (uint16_t DevAddress, uint32_t Trials)
 Checks if target device is ready for communication.
void TS_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value)
 Writes single data with I2C communication channel from MCU to TouchScreen.
uint8_t TS_IO_Read (uint8_t Addr, uint8_t Reg)
 Reads single data with I2C communication channel from TouchScreen.
uint16_t TS_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Reads multiple data with I2C communication channel from TouchScreen.
void TS_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.
void TS_IO_Delay (uint32_t Delay)
 Delay function used in TouchScreen low level driver.
void OTM8009A_IO_Delay (uint32_t Delay)
 OTM8009A delay.

Function Documentation

void AUDIO_IO_Delay ( uint32_t  Delay)

AUDIO Codec delay.

Parameters:
Delay,:Delay in ms

Definition at line 785 of file stm32469i_discovery.c.

uint8_t AUDIO_IO_Read ( uint8_t  Addr,
uint8_t  Reg 
)

Reads a single data.

Parameters:
Addr,:I2C address
Reg,:Reg address
Return values:
Datato be read

Definition at line 772 of file stm32469i_discovery.c.

References I2C2_ReadMultiple().

void AUDIO_IO_Write ( uint8_t  Addr,
uint8_t  Reg,
uint8_t  Value 
)

Writes a single data.

Parameters:
Addr,:I2C address
Reg,:Reg address
Value,:Data to be written

Definition at line 761 of file stm32469i_discovery.c.

References I2C2_WriteMultiple().

HAL_StatusTypeDef EEPROM_IO_IsDeviceReady ( uint16_t  DevAddress,
uint32_t  Trials 
)

Checks if target device is ready for communication.

Note:
This function is used with Memory devices
Parameters:
DevAddress,:Target device address
Trials,:Number of trials
Return values:
HALstatus

Definition at line 833 of file stm32469i_discovery.c.

References I2C1_IsDeviceReady().

Referenced by BSP_EEPROM_Init(), and BSP_EEPROM_WaitEepromStandbyState().

HAL_StatusTypeDef EEPROM_IO_ReadData ( uint16_t  DevAddress,
uint16_t  MemAddress,
uint8_t *  pBuffer,
uint32_t  BufferSize 
)

Read data from I2C EEPROM driver in using DMA channel.

Parameters:
DevAddress,:Target device address
MemAddress,:Internal memory address
pBuffer,:Pointer to data buffer
BufferSize,:Amount of data to be read
Return values:
HALstatus

Definition at line 821 of file stm32469i_discovery.c.

References I2C1_ReadMultiple().

Referenced by BSP_EEPROM_ReadBuffer().

HAL_StatusTypeDef EEPROM_IO_WriteData ( uint16_t  DevAddress,
uint16_t  MemAddress,
uint8_t *  pBuffer,
uint32_t  BufferSize 
)

Write data to I2C EEPROM driver in using DMA channel.

Parameters:
DevAddress,:Target device address
MemAddress,:Internal memory address
pBuffer,:Pointer to data buffer
BufferSize,:Amount of data to be sent
Return values:
HALstatus

Definition at line 808 of file stm32469i_discovery.c.

References I2C1_WriteMultiple().

Referenced by BSP_EEPROM_WritePage().

void OTM8009A_IO_Delay ( uint32_t  Delay)

OTM8009A delay.

Parameters:
Delay,:Delay in ms

Definition at line 914 of file stm32469i_discovery.c.

void TS_IO_Delay ( uint32_t  Delay)

Delay function used in TouchScreen low level driver.

Parameters:
Delay,:Delay in ms

Definition at line 904 of file stm32469i_discovery.c.

uint8_t TS_IO_Read ( uint8_t  Addr,
uint8_t  Reg 
)

Reads single data with I2C communication channel from TouchScreen.

Parameters:
Addr,:I2C address
Reg,:Register address
Return values:
Readdata

Definition at line 868 of file stm32469i_discovery.c.

References I2C1_Read().

uint16_t TS_IO_ReadMultiple ( uint8_t  Addr,
uint8_t  Reg,
uint8_t *  Buffer,
uint16_t  Length 
)

Reads multiple data with I2C communication channel from TouchScreen.

Parameters:
Addr,:I2C address
Reg,:Register address
Buffer,:Pointer to data buffer
Length,:Length of the data
Return values:
Numberof read data

Definition at line 882 of file stm32469i_discovery.c.

References I2C1_ReadMultiple().

void TS_IO_Write ( uint8_t  Addr,
uint8_t  Reg,
uint8_t  Value 
)

Writes single data with I2C communication channel from MCU to TouchScreen.

Parameters:
Addr,:I2C address
Reg,:Register address
Value,:Data to be written

Definition at line 856 of file stm32469i_discovery.c.

References I2C1_Write().

void TS_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.

Parameters:
Addr,:I2C address
Reg,:Register address
Buffer,:Pointer to data buffer
Length,:Length of the data

Definition at line 895 of file stm32469i_discovery.c.

References I2C1_WriteMultiple().

Generated on Fri Jan 13 2017 11:00:15 for STM32469I-Discovery BSP User Manual by   doxygen 1.7.6.1