RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches

Overview

This is the PCF8523 driver structure.

Variables

const rtc_api_t PCF8523_DRIVER
 PCF8523 Driver Instance. Point your generic RTC pointer to this structure to use the PCF8523 hardware.

Variable Documentation

◆ PCF8523_DRIVER

const rtc_api_t PCF8523_DRIVER
extern

#include <PCF8523.h>

PCF8523 Driver Instance. Point your generic RTC pointer to this structure to use the PCF8523 hardware.

Note
Implements the following hooks from rtc_api_t:
  • getTime: Reads current time registers.
  • setTime: Writes current time registers.
  • setTimeSystem: Configures the 12/24H mode bit.
See also
rtc_api_t
// Example Usage:
* // The application code doesn't know this is a PCF8523
my_rtc->getTime(&t);
const rtc_api_t PCF8523_DRIVER
PCF8523 Driver Instance. Point your generic RTC pointer to this structure to use the PCF8523 hardware...
Definition PCF8523.c:55
RTC API structure.
Definition rtc.h:137
rtc_status_t(* getTime)(rtc_instance_t *rtc)
Get time function pointer.
Definition rtc.h:140

Definition at line 55 of file PCF8523.c.