Functions | |
uint8_t | BSP_EEPROM_DeInit (void) |
DeInitializes the EEPROM. More... | |
uint32_t | BSP_EEPROM_Init (void) |
Initializes peripherals used by the I2C EEPROM driver. More... | |
uint32_t | BSP_EEPROM_ReadBuffer (uint8_t *pBuffer, uint16_t ReadAddr, uint16_t *NumByteToRead) |
Reads a block of data from the EEPROM. More... | |
__weak void | BSP_EEPROM_TIMEOUT_UserCallback (void) |
Basic management of the timeout situation. More... | |
uint32_t | BSP_EEPROM_WaitEepromStandbyState (void) |
Wait for EEPROM Standby state. More... | |
uint32_t | BSP_EEPROM_WriteBuffer (uint8_t *pBuffer, uint16_t WriteAddr, uint16_t NumByteToWrite) |
Writes buffer of data to the I2C EEPROM. More... | |
uint32_t | BSP_EEPROM_WritePage (uint8_t *pBuffer, uint16_t WriteAddr, uint8_t *NumByteToWrite) |
Writes more than one byte to the EEPROM with a single WRITE cycle. More... | |
uint8_t BSP_EEPROM_DeInit | ( | void | ) |
DeInitializes the EEPROM.
EEPROM | state |
Definition at line 180 of file stm32f769i_discovery_eeprom.c.
uint32_t BSP_EEPROM_Init | ( | void | ) |
Initializes peripherals used by the I2C EEPROM driver.
EEPROM_OK | (0) if operation is correctly performed, else return value different from EEPROM_OK (0) |
Definition at line 157 of file stm32f769i_discovery_eeprom.c.
uint32_t BSP_EEPROM_ReadBuffer | ( | uint8_t * | pBuffer, |
uint16_t | ReadAddr, | ||
uint16_t * | NumByteToRead | ||
) |
Reads a block of data from the EEPROM.
pBuffer | pointer to the buffer that receives the data read from the EEPROM. |
ReadAddr | EEPROM's internal address to start reading from. |
NumByteToRead | pointer to the variable holding number of bytes to be read from the EEPROM. |
EEPROM_OK | (0) if operation is correctly performed, else return value different from EEPROM_OK (0) or the timeout user callback. |
Definition at line 201 of file stm32f769i_discovery_eeprom.c.
__weak void BSP_EEPROM_TIMEOUT_UserCallback | ( | void | ) |
Basic management of the timeout situation.
None |
Definition at line 456 of file stm32f769i_discovery_eeprom.c.
uint32_t BSP_EEPROM_WaitEepromStandbyState | ( | void | ) |
Wait for EEPROM Standby state.
EEPROM_OK | (0) if operation is correctly performed, else return value different from EEPROM_OK (0) or the timeout user callback. |
Definition at line 440 of file stm32f769i_discovery_eeprom.c.
uint32_t BSP_EEPROM_WriteBuffer | ( | uint8_t * | pBuffer, |
uint16_t | WriteAddr, | ||
uint16_t | NumByteToWrite | ||
) |
Writes buffer of data to the I2C EEPROM.
pBuffer | pointer to the buffer containing the data to be written to the EEPROM. |
WriteAddr | EEPROM's internal address to write to. |
NumByteToWrite | number of bytes to write to the EEPROM. |
EEPROM_OK | (0) if operation is correctly performed, else return value different from EEPROM_OK (0) or the timeout user callback. |
Definition at line 283 of file stm32f769i_discovery_eeprom.c.
uint32_t BSP_EEPROM_WritePage | ( | uint8_t * | pBuffer, |
uint16_t | WriteAddr, | ||
uint8_t * | NumByteToWrite | ||
) |
Writes more than one byte to the EEPROM with a single WRITE cycle.
pBuffer | pointer to the buffer containing the data to be written to the EEPROM. |
WriteAddr | EEPROM's internal address to write to. |
NumByteToWrite | pointer to the variable holding number of bytes to be written into the EEPROM. |
EEPROM_OK | (0) if operation is correctly performed, else return value different from EEPROM_OK (0) or the timeout user callback. |
Definition at line 248 of file stm32f769i_discovery_eeprom.c.