Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pcnt_esp32.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_PCNT_ESP32_H_
8#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_PCNT_ESP32_H_
9
11
22
31#define SENSOR_CHAN_PCNT_ESP32_UNIT(n) ((enum sensor_channel)(SENSOR_CHAN_PRIV_START + (n)))
32
43
44#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_PCNT_ESP32_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449
sensor_attribute_pcnt_esp32
PCNT-specific sensor attributes.
Definition pcnt_esp32.h:36
@ SENSOR_ATTR_PCNT_ESP32_RESET
Clear the hardware counter of the addressed unit and reset the cached value to zero.
Definition pcnt_esp32.h:41
Main header file for sensor driver API.