mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
driver: clean pcnt.h i2s.h
This commit is contained in:
parent
328c659cd3
commit
077d68c752
@ -20,15 +20,18 @@
|
|||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "freertos/queue.h"
|
#include "freertos/queue.h"
|
||||||
#include "freertos/xtensa_api.h"
|
#include "freertos/xtensa_api.h"
|
||||||
|
#include "freertos/semphr.h"
|
||||||
|
|
||||||
#include "esp32/rom/lldesc.h"
|
#include "esp32/rom/lldesc.h"
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
#include "driver/i2s.h"
|
#include "driver/i2s.h"
|
||||||
#include "driver/dac.h"
|
#include "driver/dac.h"
|
||||||
|
#include "hal/i2s_hal.h"
|
||||||
#include "adc1_i2s_private.h"
|
#include "adc1_i2s_private.h"
|
||||||
|
|
||||||
#include "esp_intr_alloc.h"
|
#include "esp_intr_alloc.h"
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
|
#include "esp_attr.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "esp_pm.h"
|
#include "esp_pm.h"
|
||||||
#include "esp_efuse.h"
|
#include "esp_efuse.h"
|
||||||
|
@ -14,21 +14,14 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "esp_types.h"
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#include <esp_types.h>
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "soc/soc.h"
|
|
||||||
#include "soc/gpio_periph.h"
|
|
||||||
#include "soc/i2s_periph.h"
|
#include "soc/i2s_periph.h"
|
||||||
#include "soc/rtc_periph.h"
|
#include "soc/rtc_periph.h"
|
||||||
#include "soc/i2s_caps.h"
|
#include "soc/i2s_caps.h"
|
||||||
#include "esp32/rom/gpio.h"
|
|
||||||
#include "esp_attr.h"
|
|
||||||
#include "esp_intr_alloc.h"
|
|
||||||
#include "driver/periph_ctrl.h"
|
#include "driver/periph_ctrl.h"
|
||||||
#include "driver/adc.h"
|
#include "driver/adc.h" // adc1_channel_t typedef
|
||||||
#include "freertos/FreeRTOS.h"
|
|
||||||
#include "freertos/semphr.h"
|
|
||||||
#include "hal/i2s_hal.h"
|
|
||||||
#include "hal/i2s_types.h"
|
#include "hal/i2s_types.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -14,17 +14,13 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <esp_types.h>
|
#include "esp_types.h"
|
||||||
#include "esp_intr_alloc.h"
|
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
|
#include "esp_intr_alloc.h"
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "freertos/semphr.h"
|
|
||||||
#include "freertos/xtensa_api.h"
|
|
||||||
#include "soc/soc.h"
|
|
||||||
#include "soc/pcnt_caps.h"
|
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
#include "hal/pcnt_types.h"
|
#include "hal/pcnt_types.h"
|
||||||
#include "hal/pcnt_hal.h"
|
#include "soc/pcnt_periph.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -12,9 +12,14 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#include "freertos/FreeRTOS.h"
|
||||||
|
#include "freertos/semphr.h"
|
||||||
|
#include "freertos/xtensa_api.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "driver/pcnt.h"
|
#include "driver/pcnt.h"
|
||||||
#include "driver/periph_ctrl.h"
|
#include "driver/periph_ctrl.h"
|
||||||
|
#include "hal/pcnt_hal.h"
|
||||||
|
#include "soc/pcnt_caps.h"
|
||||||
|
|
||||||
#define PCNT_CHANNEL_ERR_STR "PCNT CHANNEL ERROR"
|
#define PCNT_CHANNEL_ERR_STR "PCNT CHANNEL ERROR"
|
||||||
#define PCNT_UNIT_ERR_STR "PCNT UNIT ERROR"
|
#define PCNT_UNIT_ERR_STR "PCNT UNIT ERROR"
|
||||||
|
@ -15,3 +15,4 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "soc/pcnt_reg.h"
|
#include "soc/pcnt_reg.h"
|
||||||
#include "soc/pcnt_struct.h"
|
#include "soc/pcnt_struct.h"
|
||||||
|
#include "soc/pcnt_caps.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user