ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
AnalogComparator.h File Reference

Analog comparator inputs and operating modes. More...

#include <stdint.h>
#include "Config.h"
#include "Pin.h"
Include dependency graph for AnalogComparator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  atmega328p
 Device-specific definitions for the ATmega328P.
namespace  atmega328p::analog_comparator
 Analog comparator definitions.

Enumerations

enum class  atmega328p::analog_comparator::InterruptMode : uint8_t { atmega328p::analog_comparator::Toggle = 0 , atmega328p::analog_comparator::Reserved = 1 , atmega328p::analog_comparator::FallingEdge = 2 , atmega328p::analog_comparator::RisingEdge = 3 }
 Analog comparator interrupt modes. More...
enum  : uint8_t {
  atmega328p::analog_comparator::count = 1U , atmega328p::analog_comparator::positive_input_pin_value = 0x26U , atmega328p::analog_comparator::negative_input_pin_value = 0x27U , atmega328p::analog_comparator::adc_mux_input_count = 8U ,
  atmega328p::analog_comparator::has_internal_bandgap_input = 1 , atmega328p::analog_comparator::has_adc_mux_negative_input = 1 , atmega328p::analog_comparator::adc_mux_requires_adc_disabled = 1 , atmega328p::analog_comparator::can_trigger_timer1_capture = 1 ,
  atmega328p::analog_comparator::interrupt_mode_count = 3U
}

Detailed Description

Analog comparator inputs and operating modes.