I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
Loading...
Searching...
No Matches
FM24C_ex.c File Reference

FM24C FRAM Driver (bank switching at I2C address level protocol) extensions. More...

#include "FM24C.h"
Include dependency graph for FM24C_ex.c:

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_Set (FM24C_t *const pCpnt, const bool state)
 

Detailed Description

FM24C FRAM Driver (bank switching at I2C address level protocol) extensions.

Author
SMFSW

FM24C16B: 16-Kbit (2K * 8) Serial I2C F-RAM FM24C04B: 4-Kbit (512 * 8) Serial I2C F-RAM

Note
Compatibility (tested):
  • FM24C16B
  • FM24C04B
  • BR24T04FVM

Function Documentation

◆ FM24C_Mass_Erase()

FctERR FM24C_Mass_Erase ( FM24C_t *const pCpnt)

Mass erase of FM24C.

Parameters
[in]pCpnt- Pointer to FM24C component
Returns
FctERR - error code
Here is the call graph for this function:

◆ FM24C_WP_GPIO_Init()

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.

Weak Functions
FM24C Write Protect GPIO pin init may be user implemented if needed
Parameters
[in]pCpnt- Pointer to FM24C component
[in]GPIOx- WP port
[in]GPIO_Pin- WP pin
[in]GPIO_ActiveWP pin active state
Here is the call graph for this function:

◆ FM24C_WP_GPIO_Set()

void FM24C_WP_GPIO_Set ( FM24C_t *const pCpnt,
const bool state )
Here is the call graph for this function: