Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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
 1 if the ACMP supports positive input port selection, 0 otherwise.
#define MCUX_ACMP_HAS_INNSEL   0
 1 if the ACMP supports negative input port selection, 0 otherwise.
#define MCUX_ACMP_HAS_OFFSET   0
 1 if the ACMP supports hard block offset control, 0 otherwise.
#define MCUX_ACMP_HAS_DISCRETE_MODE   0
 1 if the ACMP supports discrete mode, 0 otherwise.
#define MCUX_ACMP_HAS_HYSTCTR   0
 1 if the ACMP supports hysteresis control, 0 otherwise.
#define MCUX_ACMP_HAS_WINDOW_MODE   1
 1 if the ACMP supports window mode, 0 otherwise.
#define MCUX_ACMP_HAS_SAMPLE_CLOCK_SELECTION   1
 1 if the ACMP supports sample clock selection, 0 otherwise.

Enumerations

enum  sensor_channel_mcux_acmp { SENSOR_CHAN_MCUX_ACMP_OUTPUT = SENSOR_CHAN_PRIV_START }
 Custom sensor channels for MCUX ACMP. More...
enum  sensor_trigger_type_mcux_acmp { SENSOR_TRIG_MCUX_ACMP_OUTPUT_RISING = SENSOR_TRIG_PRIV_START , SENSOR_TRIG_MCUX_ACMP_OUTPUT_FALLING }
 Custom sensor triggers for MCUX ACMP. More...
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
}
 Custom sensor attributes for MCUX ACMP. More...

Detailed Description

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