STM32F723E-Discovery BSP User Manual
|
Modules | |
STM32F723E Discovery Low Level Private Typedef | |
LOW_LEVEL Private Defines | |
LOW_LEVEL Private Macros | |
LOW_LEVEL Private Variables | |
LOW_LEVEL Private FunctionPrototypes | |
BSP Public Functions | |
STM32F723E_DISCOVERY_LOW_LEVEL Private Functions | |
STM32F723E Discovery Low Level Exported Types | |
LOW_LEVEL Exported Constants | |
STM32F723E Discovery Low Level Exported Macros | |
STM32F723E Discovery Low Level Exported Functions | |
STM32F723E Discovery Low Level Led | |
STM32F723E Discovery Low Level Button | |
STM32F723E DISCOVERY Low Level COM | |
Functions | |
static void | FMC_BANK2_MspInit (void) |
Initializes FMC_BANK2 MSP. | |
static void | FMC_BANK2_Init (void) |
Initializes LCD IO. | |
static void | FMC_BANK2_WriteData (uint16_t Data) |
Writes register value. | |
static void | FMC_BANK2_WriteReg (uint8_t Reg) |
Writes register address. | |
static uint16_t | FMC_BANK2_ReadData (void) |
Reads register value. | |
void | LCD_IO_Init (void) |
Initializes LCD low level. | |
void | LCD_IO_WriteData (uint16_t RegValue) |
Writes data on LCD data register. | |
void | LCD_IO_WriteMultipleData (uint16_t *pData, uint32_t Size) |
Writes several data on LCD data register. | |
void | LCD_IO_WriteReg (uint8_t Reg) |
Writes register on LCD register. | |
uint16_t | LCD_IO_ReadData (void) |
Reads data from LCD data register. | |
void | LCD_IO_Delay (uint32_t Delay) |
LCD delay. | |
void | AUDIO_IO_Write (uint8_t Addr, uint16_t Reg, uint16_t Value) |
Writes a single data. | |
uint16_t | AUDIO_IO_Read (uint8_t Addr, uint16_t Reg) |
Reads a single data. | |
void | AUDIO_IO_Delay (uint32_t Delay) |
AUDIO Codec delay. | |
void | TS_IO_Init (void) |
Initializes Touchscreen low level. | |
void | TS_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
Writes a single data. | |
uint8_t | TS_IO_Read (uint8_t Addr, uint8_t Reg) |
Reads a single data. | |
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. |
Function Documentation
void AUDIO_IO_Delay | ( | uint32_t | Delay | ) |
AUDIO Codec delay.
- Parameters:
-
Delay,: Delay in ms
Definition at line 938 of file stm32f723e_discovery.c.
uint16_t AUDIO_IO_Read | ( | uint8_t | Addr, |
uint16_t | Reg | ||
) |
Reads a single data.
- Parameters:
-
Addr,: I2C address Reg,: Reg address
- Return values:
-
Data to be read
Definition at line 919 of file stm32f723e_discovery.c.
References hI2cAudioHandler, and I2Cx_ReadMultiple().
void AUDIO_IO_Write | ( | uint8_t | Addr, |
uint16_t | Reg, | ||
uint16_t | Value | ||
) |
Writes a single data.
- Parameters:
-
Addr,: I2C address Reg,: Reg address Value,: Data to be written
- Return values:
-
None
Definition at line 902 of file stm32f723e_discovery.c.
References hI2cAudioHandler, and I2Cx_WriteMultiple().
static void FMC_BANK2_Init | ( | void | ) | [static] |
Initializes LCD IO.
- Return values:
-
None
Definition at line 725 of file stm32f723e_discovery.c.
References FMC_BANK2_MspInit().
Referenced by LCD_IO_Init().
static void FMC_BANK2_MspInit | ( | void | ) | [static] |
Initializes FMC_BANK2 MSP.
- Return values:
-
None
Definition at line 668 of file stm32f723e_discovery.c.
Referenced by FMC_BANK2_Init().
static uint16_t FMC_BANK2_ReadData | ( | void | ) | [static] |
Reads register value.
- Return values:
-
Read value
Definition at line 797 of file stm32f723e_discovery.c.
References FMC_BANK2.
Referenced by LCD_IO_ReadData().
static void FMC_BANK2_WriteData | ( | uint16_t | Data | ) | [static] |
Writes register value.
- Parameters:
-
Data,: Data to be written
- Return values:
-
None
Definition at line 774 of file stm32f723e_discovery.c.
References FMC_BANK2.
Referenced by LCD_IO_WriteData(), and LCD_IO_WriteMultipleData().
static void FMC_BANK2_WriteReg | ( | uint8_t | Reg | ) | [static] |
Writes register address.
- Parameters:
-
Reg,: Register to be written
- Return values:
-
None
Definition at line 786 of file stm32f723e_discovery.c.
References FMC_BANK2.
Referenced by LCD_IO_WriteReg().
void LCD_IO_Delay | ( | uint32_t | Delay | ) |
LCD delay.
- Parameters:
-
Delay,: Delay in ms
- Return values:
-
None
Definition at line 872 of file stm32f723e_discovery.c.
void LCD_IO_Init | ( | void | ) |
Initializes LCD low level.
- Return values:
-
None
Definition at line 812 of file stm32f723e_discovery.c.
References FMC_BANK2_Init().
uint16_t LCD_IO_ReadData | ( | void | ) |
Reads data from LCD data register.
- Return values:
-
Read data.
Definition at line 862 of file stm32f723e_discovery.c.
References FMC_BANK2_ReadData().
void LCD_IO_WriteData | ( | uint16_t | RegValue | ) |
Writes data on LCD data register.
- Parameters:
-
RegValue,: Register value to be written
- Return values:
-
None
Definition at line 822 of file stm32f723e_discovery.c.
References FMC_BANK2_WriteData().
void LCD_IO_WriteMultipleData | ( | uint16_t * | pData, |
uint32_t | Size | ||
) |
Writes several data on LCD data register.
- Parameters:
-
pData,: pointer on data to be written Size,: data amount in 16bits short unit
- Return values:
-
None
Definition at line 835 of file stm32f723e_discovery.c.
References FMC_BANK2_WriteData().
void LCD_IO_WriteReg | ( | uint8_t | Reg | ) |
Writes register on LCD register.
- Parameters:
-
Reg,: Register to be written
- Return values:
-
None
Definition at line 851 of file stm32f723e_discovery.c.
References FMC_BANK2_WriteReg().
void TS_IO_Delay | ( | uint32_t | Delay | ) |
Delay function used in TouchScreen low level driver.
- Parameters:
-
Delay,: Delay in ms
- Return values:
-
None
Definition at line 1023 of file stm32f723e_discovery.c.
void TS_IO_Init | ( | void | ) |
Initializes Touchscreen low level.
- Return values:
-
None
Definition at line 949 of file stm32f723e_discovery.c.
References hI2cTsHandler, I2Cx_Init(), TS_RESET_GPIO_CLK_ENABLE, TS_RESET_GPIO_PORT, and TS_RESET_PIN.
uint8_t TS_IO_Read | ( | uint8_t | Addr, |
uint8_t | Reg | ||
) |
Reads a single data.
- Parameters:
-
Addr,: I2C address Reg,: Reg address
- Return values:
-
Data to be read
Definition at line 981 of file stm32f723e_discovery.c.
References hI2cTsHandler, and I2Cx_ReadMultiple().
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:
-
Number of read data
Definition at line 999 of file stm32f723e_discovery.c.
References hI2cTsHandler, and I2Cx_ReadMultiple().
void TS_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
- Return values:
-
None
Definition at line 970 of file stm32f723e_discovery.c.
References hI2cTsHandler, and I2Cx_WriteMultiple().
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
- Return values:
-
None
Definition at line 1013 of file stm32f723e_discovery.c.
References hI2cTsHandler, and I2Cx_WriteMultiple().
Generated on Mon Jan 2 2017 09:52:50 for STM32F723E-Discovery BSP User Manual by 1.7.6.1