Hardware Abstraction Layer for FreeRTOS
rtc.h File Reference
#include <FreeRTOS.h>
#include <stdint.h>
#include <stdbool.h>
#include <system.h>
#include <semphr.h>
#include <hal.h>
Include dependency graph for rtc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rtc_generic
 
struct  timespec
 

Typedefs

typedef int64_t time_t
 

Functions

struct rtc * rtc_init (uint32_t index)
 
int32_t rtc_deinit (struct rtc *rtc)
 
int32_t rtc_adjust (struct rtc *rtc, struct timespec *offset, TickType_t waittime)
 
int32_t rtc_getTime (struct rtc *rtc, struct timespec *time, TickType_t waittime)
 
int32_t rtc_setTime (struct rtc *rtc, struct timespec *time, TickType_t waittime)
 
int32_t rtc_adjustISR (struct rtc *rtc, struct timespec *offset)
 
int32_t rtc_getTimeISR (struct rtc *rtc, struct timespec *time)
 
int32_t rtc_setTimeISR (struct rtc *rtc, struct timespec *time)