ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#include "hal/pcnt_hal.h"
#include "hal/pcnt_ll.h"
pcnt_hal_init(pcnt_hal_context_t *, int)
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/hal/pcnt_hal.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
// The HAL layer for PCNT (common part)
#include
"
hal
/
pcnt_hal.h"
#include
"
hal
/
pcnt_ll.h"
void
pcnt_hal_init
(
pcnt_hal_context_t
*
hal
,
int
pcnt_num
)
{
//Get hardware instance.
hal
->
dev
=
PCNT_LL_GET_HW
(
pcnt_num
)
;
}
{ ... }
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
pcnt_hal_init()
pcnt_hal_context_t::dev
pcnt_hal_init()::hal
PCNT_LL_GET_HW
pcnt_hal_context_t