PebbleOS v4.44.0-199-g465b7d28c
Loading...
Searching...
No Matches
pbl_rtc_ops Struct Reference

RTC driver operations. More...

#include <rtc.h>

Data Fields

int(* get_time )(const struct pbl_rtc *rtc, time_t *t)
 Read the time, UTC seconds since the epoch.
 
int(* set_time )(const struct pbl_rtc *rtc, time_t t)
 Set the time, UTC seconds since the epoch.
 

Detailed Description

RTC driver operations.

Field Documentation

◆ get_time

int(* pbl_rtc_ops::get_time) (const struct pbl_rtc *rtc, time_t *t)

Read the time, UTC seconds since the epoch.

◆ set_time

int(* pbl_rtc_ops::set_time) (const struct pbl_rtc *rtc, time_t t)

Set the time, UTC seconds since the epoch.


The documentation for this struct was generated from the following file: