Microchip® Advanced Software Framework

rtc_count_events Struct Reference

RTC Count event enable/disable structure.

Event flags for the rtc_count_enable_events() and rtc_count_disable_events().

#include <rtc_count.h>

Data Fields

bool generate_event_on_compare [RTC_NUM_OF_COMP16]
 Generate an output event on a compare channel match against the RTC count. More...
 
bool generate_event_on_overflow
 Generate an output event on each overflow of the RTC count. More...
 
bool generate_event_on_periodic [8]
 Generate an output event periodically at a binary division of the RTC counter frequency. More...
 
bool generate_event_on_tamper
 Generate an output event on every tamper input. More...
 
bool on_event_to_tamper
 Tamper input event and capture the COUNT value. More...
 

bool rtc_count_events::generate_event_on_compare[RTC_NUM_OF_COMP16]

Generate an output event on a compare channel match against the RTC count.

Referenced by configure_rtc(), rtc_count_disable_events(), rtc_count_enable_events(), and rtc_setup().

bool rtc_count_events::generate_event_on_overflow

Generate an output event on each overflow of the RTC count.

Referenced by rtc_count_disable_events(), rtc_count_enable_events(), and test_event_gen_user_init().

bool rtc_count_events::generate_event_on_periodic[8]

Generate an output event periodically at a binary division of the RTC counter frequency.

Referenced by rtc_count_disable_events(), and rtc_count_enable_events().

bool rtc_count_events::generate_event_on_tamper

Generate an output event on every tamper input.

Referenced by rtc_count_disable_events(), and rtc_count_enable_events().

bool rtc_count_events::on_event_to_tamper

Tamper input event and capture the COUNT value.

Referenced by rtc_count_disable_events(), and rtc_count_enable_events().