Home
last modified time | relevance | path

Searched refs:pulse_io (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/driver/
Dpcnt.c80 …set_pin(pcnt_port_t pcnt_port, pcnt_unit_t unit, pcnt_channel_t channel, int pulse_io, int ctrl_io) in _pcnt_set_pin() argument
85 … PCNT_CHECK(GPIO_IS_VALID_GPIO(pulse_io) || pulse_io < 0, PCNT_GPIO_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_set_pin()
88 if (pulse_io >= 0) { in _pcnt_set_pin()
89 gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[pulse_io], PIN_FUNC_GPIO); in _pcnt_set_pin()
90 gpio_set_direction(pulse_io, GPIO_MODE_INPUT); in _pcnt_set_pin()
91 gpio_set_pull_mode(pulse_io, GPIO_PULLUP_ONLY); in _pcnt_set_pin()
92 …esp_rom_gpio_connect_in_signal(pulse_io, pcnt_periph_signals.units[unit].channels[channel].pulse_s… in _pcnt_set_pin()
417 esp_err_t pcnt_set_pin(pcnt_unit_t unit, pcnt_channel_t channel, int pulse_io, int ctrl_io) in pcnt_set_pin() argument
419 return _pcnt_set_pin(PCNT_PORT_0, unit, channel, pulse_io, ctrl_io); in pcnt_set_pin()
/hal_espressif-2.7.6/components/driver/include/driver/
Dpcnt.h240 esp_err_t pcnt_set_pin(pcnt_unit_t unit, pcnt_channel_t channel, int pulse_io, int ctrl_io);