GPIO HALY
- group nrfy_gpio
Hardware access layer with cache and barrier support for managing the GPIO peripheral.
Functions
-
NRFY_STATIC_INLINE void nrfy_gpio_range_cfg_output(uint32_t pin_range_start, uint32_t pin_range_end)
@refhal{nrf_gpio_range_cfg_output}
-
NRFY_STATIC_INLINE void nrfy_gpio_range_cfg_input(uint32_t pin_range_start, uint32_t pin_range_end, nrf_gpio_pin_pull_t pull_config)
@refhal{nrf_gpio_range_cfg_input}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg(uint32_t pin_number, nrf_gpio_pin_dir_t dir, nrf_gpio_pin_input_t input, nrf_gpio_pin_pull_t pull, nrf_gpio_pin_drive_t drive, nrf_gpio_pin_sense_t sense)
@refhal{nrf_gpio_cfg}
-
NRFY_STATIC_INLINE void nrfy_gpio_reconfigure(uint32_t pin_number, const nrf_gpio_pin_dir_t *p_dir, const nrf_gpio_pin_input_t *p_input, const nrf_gpio_pin_pull_t *p_pull, const nrf_gpio_pin_drive_t *p_drive, const nrf_gpio_pin_sense_t *p_sense)
@refhal{nrf_gpio_reconfigure}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg_output(uint32_t pin_number)
@refhal{nrf_gpio_cfg_output}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg_input(uint32_t pin_number, nrf_gpio_pin_pull_t pull_config)
@refhal{nrf_gpio_cfg_input}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg_default(uint32_t pin_number)
@refhal{nrf_gpio_cfg_default}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg_watcher(uint32_t pin_number)
@refhal{nrf_gpio_cfg_watcher}
-
NRFY_STATIC_INLINE void nrfy_gpio_input_disconnect(uint32_t pin_number)
@refhal{nrf_gpio_input_disconnect}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg_sense_input(uint32_t pin_number, nrf_gpio_pin_pull_t pull_config, nrf_gpio_pin_sense_t sense_config)
@refhal{nrf_gpio_cfg_sense_input}
-
NRFY_STATIC_INLINE void nrfy_gpio_cfg_sense_set(uint32_t pin_number, nrf_gpio_pin_sense_t sense_config)
@refhal{nrf_gpio_cfg_sense_set}
-
NRFY_STATIC_INLINE void nrfy_gpio_pin_dir_set(uint32_t pin_number, nrf_gpio_pin_dir_t direction)
@refhal{nrf_gpio_pin_dir_set}
-
NRFY_STATIC_INLINE void nrfy_gpio_pin_set(uint32_t pin_number)
@refhal{nrf_gpio_pin_set}
-
NRFY_STATIC_INLINE void nrfy_gpio_pin_clear(uint32_t pin_number)
@refhal{nrf_gpio_pin_clear}
-
NRFY_STATIC_INLINE void nrfy_gpio_pin_toggle(uint32_t pin_number)
@refhal{nrf_gpio_pin_toggle}
-
NRFY_STATIC_INLINE void nrfy_gpio_pin_write(uint32_t pin_number, uint32_t value)
@refhal{nrf_gpio_pin_write}
-
NRFY_STATIC_INLINE uint32_t nrfy_gpio_pin_read(uint32_t pin_number)
@refhal{nrf_gpio_pin_read}
-
NRFY_STATIC_INLINE uint32_t nrfy_gpio_pin_out_read(uint32_t pin_number)
@refhal{nrf_gpio_pin_out_read}
-
NRFY_STATIC_INLINE nrf_gpio_pin_sense_t nrfy_gpio_pin_sense_get(uint32_t pin_number)
@refhal{nrf_gpio_pin_sense_get}
-
NRFY_STATIC_INLINE nrf_gpio_pin_dir_t nrfy_gpio_pin_dir_get(uint32_t pin_number)
@refhal{nrf_gpio_pin_dir_get}
-
NRFY_STATIC_INLINE nrf_gpio_pin_input_t nrfy_gpio_pin_input_get(uint32_t pin_number)
@refhal{nrf_gpio_pin_input_get}
-
NRFY_STATIC_INLINE nrf_gpio_pin_pull_t nrfy_gpio_pin_pull_get(uint32_t pin_number)
@refhal{nrf_gpio_pin_pull_get}
-
NRFY_STATIC_INLINE void nrfy_gpio_port_dir_output_set(NRF_GPIO_Type *p_reg, uint32_t out_mask)
@refhal{nrf_gpio_port_dir_output_set}
-
NRFY_STATIC_INLINE void nrfy_gpio_port_dir_input_set(NRF_GPIO_Type *p_reg, uint32_t in_mask)
@refhal{nrf_gpio_port_dir_input_set}
-
NRFY_STATIC_INLINE void nrfy_gpio_port_dir_write(NRF_GPIO_Type *p_reg, uint32_t dir_mask)
@refhal{nrf_gpio_port_dir_write}
-
NRFY_STATIC_INLINE uint32_t nrfy_gpio_port_dir_read(NRF_GPIO_Type const *p_reg)
@refhal{nrf_gpio_port_dir_read}
-
NRFY_STATIC_INLINE uint32_t nrfy_gpio_port_in_read(NRF_GPIO_Type const *p_reg)
@refhal{nrf_gpio_port_in_read}
-
NRFY_STATIC_INLINE uint32_t nrfy_gpio_port_out_read(NRF_GPIO_Type const *p_reg)
@refhal{nrf_gpio_port_out_read}
-
NRFY_STATIC_INLINE void nrfy_gpio_port_out_write(NRF_GPIO_Type *p_reg, uint32_t value)
@refhal{nrf_gpio_port_out_write}
-
NRFY_STATIC_INLINE void nrfy_gpio_port_out_set(NRF_GPIO_Type *p_reg, uint32_t set_mask)
@refhal{nrf_gpio_port_out_set}
-
NRFY_STATIC_INLINE void nrfy_gpio_port_out_clear(NRF_GPIO_Type *p_reg, uint32_t clr_mask)
@refhal{nrf_gpio_port_out_clear}
-
NRFY_STATIC_INLINE void nrfy_gpio_ports_read(uint32_t start_port, uint32_t length, uint32_t *p_masks)
@refhal{nrf_gpio_ports_read}
-
NRFY_STATIC_INLINE bool nrfy_gpio_pin_present_check(uint32_t pin_number)
@refhal{nrf_gpio_pin_present_check}
-
NRFY_STATIC_INLINE uint32_t nrfy_gpio_pin_port_number_extract(uint32_t *p_pin)
@refhal{nrf_gpio_pin_port_number_extract}
-
NRFY_STATIC_INLINE void nrfy_gpio_range_cfg_output(uint32_t pin_range_start, uint32_t pin_range_end)