|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
PCF8523 Driver. More...
#include "PCF8523.h"
Functions | |
| FctERR | PCF8523_Init (void) |
| Initialization for PCF8523 peripheral peripheral. | |
| FctERR | PCF8523_Write (const uint8_t *data, const uint16_t addr, const uint16_t nb) |
| I2C Write function for PCF8523 peripheral. | |
| FctERR | PCF8523_Read (uint8_t *data, const uint16_t addr, const uint16_t nb) |
| I2C Read function for PCF8523 peripheral. | |
PCF8523 Driver.
PCF8523: Real-Time Clock (RTC) and calendar
| FctERR PCF8523_Init | ( | void | ) |
Initialization for PCF8523 peripheral peripheral.

| FctERR PCF8523_Read | ( | uint8_t * | data, |
| const uint16_t | addr, | ||
| const uint16_t | nb ) |
I2C Read function for PCF8523 peripheral.
| [in,out] | data | - pointer to read to |
| [in] | addr | - Address to read from |
| [in] | nb | - Number of bytes to read |


| FctERR PCF8523_Write | ( | const uint8_t * | data, |
| const uint16_t | addr, | ||
| const uint16_t | nb ) |
I2C Write function for PCF8523 peripheral.
| [in] | data | - pointer to write from |
| [in] | addr | - Address to write to |
| [in] | nb | - Number of bytes to write |

