Home
last modified time | relevance | path

Searched refs:polarity (Results 1 – 4 of 4) sorted by relevance

/external/platform/nrfx/drivers/src/
A Dnrfx_gpiote.c568 nrf_gpiote_polarity_t polarity = in nrfx_gpiote_in_event_enable() local
571 if (polarity == NRF_GPIOTE_POLARITY_TOGGLE) in nrfx_gpiote_in_event_enable()
579 sense = (polarity == NRF_GPIOTE_POLARITY_LOTOHI) ? in nrfx_gpiote_in_event_enable()
724 ((polarity == NRF_GPIOTE_POLARITY_TOGGLE) || in port_event_handle()
728 handler(pin, polarity); in port_event_handle()
807 ((polarity == NRF_GPIOTE_POLARITY_TOGGLE) || in port_event_handle()
809 polarity == NRF_GPIOTE_POLARITY_LOTOHI) || in port_event_handle()
811 polarity == NRF_GPIOTE_POLARITY_HITOLO))) in port_event_handle()
813 handler(pin, polarity); in port_event_handle()
872 NRFX_LOG_DEBUG("Pin: %d, polarity: %d.", pin, polarity); in nrfx_gpiote_irq_handler()
[all …]
/external/platform/pico/rp2_common/hardware_pio/include/hardware/
A Dpio_instructions.h271 static inline uint pio_encode_wait_gpio(bool polarity, uint gpio) { in pio_encode_wait_gpio() argument
272 return _pio_encode_instr_and_args(pio_instr_bits_wait, 0u | (polarity ? 4u : 0u), gpio); in pio_encode_wait_gpio()
285 static inline uint pio_encode_wait_pin(bool polarity, uint pin) { in pio_encode_wait_pin() argument
286 return _pio_encode_instr_and_args(pio_instr_bits_wait, 1u | (polarity ? 4u : 0u), pin); in pio_encode_wait_pin()
300 static inline uint pio_encode_wait_irq(bool polarity, bool relative, uint irq) { in pio_encode_wait_irq() argument
302 …return _pio_encode_instr_and_args(pio_instr_bits_wait, 2u | (polarity ? 4u : 0u), _pio_encode_irq(… in pio_encode_wait_irq()
/external/platform/nrfx/hal/
A Dnrf_gpiote.h297 nrf_gpiote_polarity_t polarity);
350 nrf_gpiote_polarity_t polarity,
509 nrf_gpiote_polarity_t polarity) in nrf_gpiote_event_configure() argument
513 ((polarity << GPIOTE_CONFIG_POLARITY_Pos) & GPIOTE_CONFIG_POLARITY_Msk); in nrf_gpiote_event_configure()
554 nrf_gpiote_polarity_t polarity, in nrf_gpiote_task_configure() argument
562 ((polarity << GPIOTE_CONFIG_POLARITY_Pos) & GPIOTE_CONFIG_POLARITY_Msk) | in nrf_gpiote_task_configure()
A Dnrf_spim.h405 nrf_spim_csn_pol_t polarity,
710 nrf_spim_csn_pol_t polarity, in nrf_spim_csn_configure() argument
714 p_reg->CSNPOL = polarity; in nrf_spim_csn_configure()

Completed in 11 milliseconds