Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
mcux_acmp.h File Reference

Extended public API for the NXP MCUX Analog Comparator (ACMP) More...

#include <drivers/sensor.h>

Go to the source code of this file.

Enumerations

enum  sensor_channel_mcux_acmp { SENSOR_CHAN_MCUX_ACMP_OUTPUT = SENSOR_CHAN_PRIV_START }
 
enum  sensor_trigger_type_mcux_acmp { SENSOR_TRIG_MCUX_ACMP_OUTPUT_RISING = SENSOR_TRIG_PRIV_START , SENSOR_TRIG_MCUX_ACMP_OUTPUT_FALLING }
 
enum  sensor_attribute_mcux_acmp {
  SENSOR_ATTR_MCUX_ACMP_OFFSET_LEVEL = SENSOR_ATTR_COMMON_COUNT , SENSOR_ATTR_MCUX_ACMP_HYSTERESIS_LEVEL , SENSOR_ATTR_MCUX_ACMP_DAC_VOLTAGE_REFERENCE , SENSOR_ATTR_MCUX_ACMP_DAC_VALUE ,
  SENSOR_ATTR_MCUX_ACMP_POSITIVE_PORT_INPUT , SENSOR_ATTR_MCUX_ACMP_POSITIVE_MUX_INPUT , SENSOR_ATTR_MCUX_ACMP_NEGATIVE_PORT_INPUT , SENSOR_ATTR_MCUX_ACMP_NEGATIVE_MUX_INPUT
}
 

Detailed Description

Extended public API for the NXP MCUX Analog Comparator (ACMP)

Enumeration Type Documentation

◆ sensor_attribute_mcux_acmp

Enumerator
SENSOR_ATTR_MCUX_ACMP_OFFSET_LEVEL 

Analog Comparator hard block offset.

SENSOR_ATTR_MCUX_ACMP_HYSTERESIS_LEVEL 

Analog Comparator hysteresis level.

SENSOR_ATTR_MCUX_ACMP_DAC_VOLTAGE_REFERENCE 

Analog Comparator Digital-to-Analog Converter voltage reference source.

SENSOR_ATTR_MCUX_ACMP_DAC_VALUE 

Analog Comparator Digital-to-Analog Converter value.

SENSOR_ATTR_MCUX_ACMP_POSITIVE_PORT_INPUT 

Analog Comparator positive port input.

SENSOR_ATTR_MCUX_ACMP_POSITIVE_MUX_INPUT 

Analog Comparator positive mux input.

SENSOR_ATTR_MCUX_ACMP_NEGATIVE_PORT_INPUT 

Analog Comparator negative port input.

SENSOR_ATTR_MCUX_ACMP_NEGATIVE_MUX_INPUT 

Analog Comparator negative mux input.

◆ sensor_channel_mcux_acmp

Enumerator
SENSOR_CHAN_MCUX_ACMP_OUTPUT 

Analog Comparator Output.

◆ sensor_trigger_type_mcux_acmp

Enumerator
SENSOR_TRIG_MCUX_ACMP_OUTPUT_RISING 

Analog Comparator Output rising event trigger.

SENSOR_TRIG_MCUX_ACMP_OUTPUT_FALLING 

Analog Comparator Output falling event trigger.