Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mcux_acmp.h File Reference

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

Go to the source code of this file.

Macros

#define MCUX_ACMP_HAS_INPSEL   0
 
#define MCUX_ACMP_HAS_INNSEL   0
 
#define MCUX_ACMP_HAS_OFFSET   0
 
#define MCUX_ACMP_HAS_DISCRETE_MODE   0
 

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)

Macro Definition Documentation

◆ MCUX_ACMP_HAS_DISCRETE_MODE

#define MCUX_ACMP_HAS_DISCRETE_MODE   0

◆ MCUX_ACMP_HAS_INNSEL

#define MCUX_ACMP_HAS_INNSEL   0

◆ MCUX_ACMP_HAS_INPSEL

#define MCUX_ACMP_HAS_INPSEL   0

◆ MCUX_ACMP_HAS_OFFSET

#define MCUX_ACMP_HAS_OFFSET   0

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.