|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
FM24C FRAM Driver (bank switching at I2C address level protocol) extensions. More...


Macros | |
| #define | FM24C_Read_Type(cpnt, name, type, addr) |
| Macro to create function to read value(s) from FM24C. | |
| #define | FM24C_Write_Type(cpnt, name, type, addr) |
| Macro to create function to write value(s) to FM24C. | |
Functions | |
| FctERR | FM24C_Mass_Erase (FM24C_t *const pCpnt) |
| Mass erase of FM24C. | |
| void | FM24C_WP_GPIO_Init (FM24C_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Write Protect GPIO pin init for FM24C. | |
| void | FM24C_WP_GPIO_Get (const FM24C_t *const pCpnt, bool *const pState) |
| Write Protect GPIO pin getter for FM24C. | |
FM24C FRAM Driver (bank switching at I2C address level protocol) extensions.
FM24C16B: 16-Kbit (2K * 8) Serial I2C F-RAM FM24C04B: 4-Kbit (512 * 8) Serial I2C F-RAM
| #define FM24C_Read_Type | ( | cpnt, | |
| name, | |||
| type, | |||
| addr ) |
Macro to create function to read value(s) from FM24C.
| #define FM24C_Write_Type | ( | cpnt, | |
| name, | |||
| type, | |||
| addr ) |
Macro to create function to write value(s) to FM24C.
| FctERR FM24C_Mass_Erase | ( | FM24C_t *const | pCpnt | ) |
Mass erase of FM24C.
| [in] | pCpnt | - Pointer to FM24C component |

| void FM24C_WP_GPIO_Get | ( | const FM24C_t *const | pCpnt, |
| bool *const | pState ) |
Write Protect GPIO pin getter for FM24C.
| [in] | pCpnt | - Pointer to FM24C component |
| [in,out] | pState | - Pointer to WP pin state variable (0: inactive, 1: active) |
| void FM24C_WP_GPIO_Init | ( | FM24C_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Write Protect GPIO pin init for FM24C.
| [in] | pCpnt | - Pointer to FM24C component |
| [in] | GPIOx | - WP port |
| [in] | GPIO_Pin | - WP pin |
| [in] | GPIO_Active | WP pin active state |
