|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
MB85RC256V FRAM Driver. More...
#include "MB85RC256V.h"
Functions | |
| FctERR | MB85RC256V_Init (const uint8_t idx, I2C_HandleTypeDef *const hi2c, const uint16_t devAddress) |
| Initialization for MB85RC256V peripheral. | |
| FctERR | MB85RC256V_Init_Single (void) |
| Initialization for MB85RC256V peripheral. | |
| FctERR | MB85RC256V_Write (MB85RC256V_t *const pCpnt, const uint8_t *data, const uint16_t addr, const uint16_t nb) |
| I2C Write function for MB85RC256V. | |
| FctERR | MB85RC256V_Read (MB85RC256V_t *const pCpnt, uint8_t *data, const uint16_t addr, const uint16_t nb) |
| I2C Read function for MB85RC256V. | |
| FctERR | MB85RC256V_Read_ID (MB85RC256V_t *const pCpnt, uint8_t *data) |
| I2C Read ID function for MB85RC256V (reads 3 bytes) | |
Variables | |
| MB85RC256V_t | MB85RC256V [I2C_MB85RC256V_NB] = { 0 } |
| MB85RC256V User structure. | |
MB85RC256V FRAM Driver.
MB85RC256V: 256-Kbit (32K * 8) I2C Memory FRAM
| FctERR MB85RC256V_Init | ( | const uint8_t | idx, |
| I2C_HandleTypeDef *const | hi2c, | ||
| const uint16_t | devAddress ) |
Initialization for MB85RC256V peripheral.
| [in] | idx | - MB85RC256V index |
| [in] | hi2c | - pointer to MB85RC256V I2C instance |
| [in] | devAddress | - MB85RC256V device address |


| FctERR MB85RC256V_Init_Single | ( | void | ) |
Initialization for MB85RC256V peripheral.

| FctERR MB85RC256V_Read | ( | MB85RC256V_t *const | pCpnt, |
| uint8_t * | data, | ||
| const uint16_t | addr, | ||
| const uint16_t | nb ) |
I2C Read function for MB85RC256V.
| [in] | pCpnt | - Pointer to MB85RC256V component |
| [in,out] | data | - pointer to read to |
| [in] | addr | - Address to read from |
| [in] | nb | - Number of bytes to read |

| FctERR MB85RC256V_Read_ID | ( | MB85RC256V_t *const | pCpnt, |
| uint8_t * | data ) |
I2C Read ID function for MB85RC256V (reads 3 bytes)
| [in] | pCpnt | - Pointer to MB85RC256V component |
| [in,out] | data | - pointer to read to |


| FctERR MB85RC256V_Write | ( | MB85RC256V_t *const | pCpnt, |
| const uint8_t * | data, | ||
| const uint16_t | addr, | ||
| const uint16_t | nb ) |
I2C Write function for MB85RC256V.
| [in] | pCpnt | - Pointer to MB85RC256V component |
| [in] | data | - pointer to write from |
| [in] | addr | - Address to write to |
| [in] | nb | - Number of bytes to write |


| MB85RC256V_t MB85RC256V[I2C_MB85RC256V_NB] = { 0 } |
MB85RC256V User structure.