Microchip® Advanced Software Framework

acifb_window_t Struct Reference

AC Window configuration.

#include <acifb.h>

Public Types

enum  {
  EVENT_ON_ACWOUT_RISING_EDGE,
  EVENT_ON_ACWOUT_FALLING_EDGE,
  EVENT_ON_ACWOUT_ON_ANY_EDGE,
  EVENT_ON_INSIDE_WINDOW,
  EVENT_ON_OUTSIDE_WINDOW,
  EVENT_ON_COMPARISON_COMPLETE
}
 Window Event output configuration. More...
 
enum  {
  IS_VINP_INSIDE_WINDOW,
  IS_VINP_OUTSIDE_WINDOW,
  IS_WINDOW_OUTPUT_TGL,
  IS_WINDOW_COMP_DONE
}
 Interrupt settings. More...
 

Data Fields

int ac_combination_number
 Analog comparator combination number. More...
 
enum acifb_window_t:: { ... }  interrupt_settings
 Interrupt settings. More...
 
enum acifb_window_t:: { ... }  window_event
 Window Event output configuration. More...
 
bool window_event_enable
 Window Event from awout Enable/Disable. More...
 
bool window_mode
 Window Mode Enable/Disable. More...
 

anonymous enum

Window Event output configuration.

Enumerator
EVENT_ON_ACWOUT_RISING_EDGE 
EVENT_ON_ACWOUT_FALLING_EDGE 
EVENT_ON_ACWOUT_ON_ANY_EDGE 
EVENT_ON_INSIDE_WINDOW 
EVENT_ON_OUTSIDE_WINDOW 
EVENT_ON_COMPARISON_COMPLETE 
anonymous enum

Interrupt settings.

Enumerator
IS_VINP_INSIDE_WINDOW 
IS_VINP_OUTSIDE_WINDOW 
IS_WINDOW_OUTPUT_TGL 
IS_WINDOW_COMP_DONE 

int acifb_window_t::ac_combination_number

Analog comparator combination number.

Note
ACPn, ACNn, ACP(n+1), ACN(n+1) -> nth combination
enum { ... } acifb_window_t::interrupt_settings

Interrupt settings.

Referenced by acifb_windows_setup().

enum { ... } acifb_window_t::window_event

Window Event output configuration.

Referenced by acifb_windows_setup().

bool acifb_window_t::window_event_enable

Window Event from awout Enable/Disable.

bool acifb_window_t::window_mode

Window Mode Enable/Disable.

Referenced by acifb_windows_setup().