|
Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Data Structures | |
| struct | Alarm_State_t |
| struct | RTC_State_t |
| A structure to represent RTC device state. More... | |
Functions | |
| static int32_t | rtc_init (void) |
| static int32_t | rtc_stop (void) |
| static int32_t | alarm_start (RTC_ALARM_t alarm, RTC_ALARM_MODE_t mode, uint32_t secs, void *cb) |
| static int32_t | alarm_stop (RTC_ALARM_t alarm) |
| static void | alarm_update (RTC_ALARM_t alarm) |
| RTC_Device_t * | RTC_devRequest (void) |
| The instance of RTC device. More... | |
| static void | alarm_handler (RTC_ALARM_t alarm) |
| void | ALARM0_Handler (void) |
| void | ALARM1_Handler (void) |
| void | RTC_OVFL_Handler (void) |
| int32_t | RTC_devInit (RTC_Device_t *dev) |
| Initialize RTC Timer. More... | |
| int32_t | RTC_devStop (RTC_Device_t *dev) |
| Stop RTC Timer. More... | |
| int32_t | RTC_devStartAlarm (RTC_Device_t *dev, RTC_ALARM_t alarm, RTC_ALARM_MODE_t mode, uint32_t secs, void *cb) |
| Start a Alarm Timer. More... | |
| int32_t | RTC_devStopAlarm (RTC_Device_t *dev, RTC_ALARM_t alarm) |
| Stop a Alarm Timer. More... | |
Variables | |
| RTC_State_t | RTC_State |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
| void ALARM0_Handler | ( | void | ) |
| void ALARM1_Handler | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| int32_t RTC_devInit | ( | RTC_Device_t * | dev | ) |
Initialize RTC Timer.
| dev | The pointer to RTC device, |
| RTC_Device_t* RTC_devRequest | ( | void | ) |
The instance of RTC device.
Request A RTC Device.
| int32_t RTC_devStartAlarm | ( | RTC_Device_t * | dev, |
| RTC_ALARM_t | alarm, | ||
| RTC_ALARM_MODE_t | mode, | ||
| uint32_t | sec, | ||
| void * | cb | ||
| ) |
Start a Alarm Timer.
| dev | The pointer to RTC device, |
| alarm | The enumeration of the alarm to be started. |
| mode | The enumeration of alarm mode. |
| sec | The seconds for the alarm to fire. |
| cb | The pointer to the call back function when the alarm fires. |
| int32_t RTC_devStop | ( | RTC_Device_t * | dev | ) |
Stop RTC Timer.
| dev | The pointer to RTC device, |
| int32_t RTC_devStopAlarm | ( | RTC_Device_t * | dev, |
| RTC_ALARM_t | alarm | ||
| ) |
Stop a Alarm Timer.
| dev | The pointer to RTC device, |
| alarm | The enumeration of the alarm to be started. |
|
static |
| void RTC_OVFL_Handler | ( | void | ) |
|
static |
| RTC_State_t RTC_State |
1.8.9.1