Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mcux_lpcmp.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Vestas Wind Systems A/S
3 * Copyright 2024 NXP
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_LPCMP_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_LPCMP_H_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
21
29
39
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_LPCMP_H_ */
@ SENSOR_TRIG_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:275
@ SENSOR_ATTR_COMMON_COUNT
Number of all common sensor attributes.
Definition sensor.h:353
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:208
sensor_channel_mcux_lpcmp
lpcmp channels.
Definition mcux_lpcmp.h:25
@ SENSOR_CHAN_MCUX_LPCMP_OUTPUT
LPCMP output.
Definition mcux_lpcmp.h:27
sensor_attribute_mcux_lpcmp
lpcmp attribute types.
Definition mcux_lpcmp.h:43
@ SENSOR_ATTR_MCUX_LPCMP_COUT_EVENT_TO_CLOSE_WINDOW
LPCMP COUT event to close an active window: xx0b: COUT event cannot close an active window 001b: COUT...
Definition mcux_lpcmp.h:91
@ SENSOR_ATTR_MCUX_LPCMP_DAC_HIGH_POWER_MODE_ENABLE
LPCMP internal DAC high power mode disabled.
Definition mcux_lpcmp.h:60
@ SENSOR_ATTR_MCUX_LPCMP_NEGATIVE_MUX_INPUT
LPCMP negative input mux.
Definition mcux_lpcmp.h:47
@ SENSOR_ATTR_MCUX_LPCMP_FILTER_PERIOD
LPCMP internal filter sample period.
Definition mcux_lpcmp.h:71
@ SENSOR_ATTR_MCUX_LPCMP_POSITIVE_MUX_INPUT
LPCMP positive input mux.
Definition mcux_lpcmp.h:45
@ SENSOR_ATTR_MCUX_LPCMP_DAC_ENABLE
LPCMP internal DAC enable.
Definition mcux_lpcmp.h:54
@ SENSOR_ATTR_MCUX_LPCMP_DAC_REFERENCE_VOLTAGE_SOURCE
LPCMP internal DAC voltage reference source.
Definition mcux_lpcmp.h:62
@ SENSOR_ATTR_MCUX_LPCMP_COUTA_WINDOW_SIGNAL_INVERT_ENABLE
LPCMP window signal invert.
Definition mcux_lpcmp.h:76
@ SENSOR_ATTR_MCUX_LPCMP_SAMPLE_ENABLE
LPCMP internal filter sample enable.
Definition mcux_lpcmp.h:67
@ SENSOR_ATTR_MCUX_LPCMP_COUTA_WINDOW_ENABLE
LPCMP window signal invert.
Definition mcux_lpcmp.h:74
@ SENSOR_ATTR_MCUX_LPCMP_COUTA_SIGNAL
LPCMP COUTA signal value when a window is closed: 00b: latched 01b: set to low 11b: set to high.
Definition mcux_lpcmp.h:83
@ SENSOR_ATTR_MCUX_LPCMP_FILTER_COUNT
LPCMP internal filter sample count.
Definition mcux_lpcmp.h:69
@ SENSOR_ATTR_MCUX_LPCMP_DAC_OUTPUT_VOLTAGE
LPCMP internal DAC output voltage value.
Definition mcux_lpcmp.h:64
sensor_trigger_type_mcux_lpcmp
lpcmp trigger types.
Definition mcux_lpcmp.h:33
@ SENSOR_TRIG_MCUX_LPCMP_OUTPUT_FALLING
LPCMP output falling event trigger.
Definition mcux_lpcmp.h:37
@ SENSOR_TRIG_MCUX_LPCMP_OUTPUT_RISING
LPCMP output rising event trigger.
Definition mcux_lpcmp.h:35
Public APIs for the sensor driver.