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 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 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(), and rtc_count_enable_events().

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().