CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
aon_rtc.h File Reference
`#include <stdbool.h>`
`#include <stdint.h>`
`#include <inc/hw_types.h>`
`#include <inc/hw_memmap.h>`
`#include <inc/hw_aon_rtc.h>`
`#include <driverlib/debug.h>`

Go to the source code of this file.

## Macros
#define | AON_RTC_CH_NONE 0x0
#define | AON_RTC_CH0 0x1
#define | AON_RTC_CH1 0x2
#define | AON_RTC_CH2 0x4
#define | AON_RTC_ACTIVE 0x8
#define | AON_RTC_CONFIG_DELAY_NODELAY 0
#define | AON_RTC_CONFIG_DELAY_1 1
#define | AON_RTC_CONFIG_DELAY_2 2
#define | AON_RTC_CONFIG_DELAY_4 3
#define | AON_RTC_CONFIG_DELAY_8 4
#define | AON_RTC_CONFIG_DELAY_16 5
#define | AON_RTC_CONFIG_DELAY_32 6
#define | AON_RTC_CONFIG_DELAY_48 7
#define | AON_RTC_CONFIG_DELAY_64 8
#define | AON_RTC_CONFIG_DELAY_80 9
#define | AON_RTC_CONFIG_DELAY_96 10
#define | AON_RTC_CONFIG_DELAY_112 11
#define | AON_RTC_CONFIG_DELAY_128 12
#define | AON_RTC_CONFIG_DELAY_144 13
#define | AON_RTC_CONFIG_DELAY_160 14
#define | AON_RTC_CONFIG_DELAY_176 15
#define | AON_RTC_MODE_CH1_CAPTURE 1
#define | AON_RTC_MODE_CH1_COMPARE 0
#define | AON_RTC_MODE_CH2_CONTINUOUS 1
#define | AON_RTC_MODE_CH2_NORMALCOMPARE 0

## Functions
__STATIC_INLINE void | AONRTCEnable (void)
| Enable the RTC. More...
__STATIC_INLINE void | AONRTCDisable (void)
| Disable the RTC. More...
uint32_t | AONRTCStatus (void)
| Check if the AON Real Time Clock is running. More...
__STATIC_INLINE void | AONRTCReset (void)
| Reset the RTC. More...
__STATIC_INLINE void | AONRTCDelayConfig (uint32_t ui32Delay)
| Configure Event Delay for the RTC. More...
__STATIC_INLINE void | AONRTCCombinedEventConfig (uint32_t ui32Channels)
| Configure the source of the combined event. More...
void | AONRTCEventClear (uint32_t ui32Channel)
| Clear event from a specified channel. More...
bool | AONRTCEventGet (uint32_t ui32Channel)
| Get event status for a specified channel. More...
__STATIC_INLINE uint32_t | AONRTCSecGet (void)
| Get nominal seconds of RTC free-running timer. More...
__STATIC_INLINE uint32_t | AONRTCFractionGet (void)
| Get fractional part of RTC free-running timer. More...
__STATIC_INLINE uint32_t | AONRTCSubSecIncrGet (void)
| Get the sub second increment of the RTC. More...
void | AONRTCModeCh1Set (uint32_t ui32Mode)
| Set operational mode of channel 1. More...
uint32_t | AONRTCModeCh1Get (void)
| Get operational mode of channel 1. More...
void | AONRTCModeCh2Set (uint32_t ui32Mode)
| Set operational mode of channel 2. More...
uint32_t | AONRTCModeCh2Get (void)
| Get operational mode of channel 2. More...
void | AONRTCChannelEnable (uint32_t ui32Channel)
| Enable event operation for the specified channel. More...
void | AONRTCChannelDisable (uint32_t ui32Channel)
| Disable event operation for the specified channel. More...
void | AONRTCCompareValueSet (uint32_t ui32Channel, uint32_t ui32CompValue)
| Set the compare value for the given channel. More...
uint32_t | AONRTCCompareValueGet (uint32_t ui32Channel)
| Get the compare value for the given channel. More...
__STATIC_INLINE uint32_t | AONRTCCurrentCompareValueGet (void)
| Get the current value of the RTC counter in a format compatible to the compare registers. More...
__STATIC_INLINE void | AONRTCIncValueCh2Set (uint32_t ui32IncValue)
| Set the channel 2 increment value when operating in continuous mode. More...
__STATIC_INLINE uint32_t | AONRTCIncValueCh2Get (void)
| Get the channel2 increment value when operating in continuous mode. More...
__STATIC_INLINE uint32_t | AONRTCCaptureValueCh1Get (void)
| Get the channel 1 capture value. More...