123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- #ifndef NRF_DRV_GPIOTE_H__
- #define NRF_DRV_GPIOTE_H__
- #include <nrfx_gpiote.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef nrfx_gpiote_in_config_t nrf_drv_gpiote_in_config_t;
- typedef nrfx_gpiote_pin_t nrf_drv_gpiote_pin_t;
- typedef nrfx_gpiote_out_config_t nrf_drv_gpiote_out_config_t;
- typedef nrfx_gpiote_evt_handler_t nrf_drv_gpiote_evt_handler_t;
- #define GPIOTE_CONFIG_IN_SENSE_LOTOHI NRFX_GPIOTE_CONFIG_IN_SENSE_LOTOHI
- #define GPIOTE_CONFIG_IN_SENSE_HITOLO NRFX_GPIOTE_CONFIG_IN_SENSE_HITOLO
- #define GPIOTE_CONFIG_IN_SENSE_TOGGLE NRFX_GPIOTE_CONFIG_IN_SENSE_TOGGLE
- #define GPIOTE_RAW_CONFIG_IN_SENSE_LOTOHI NRFX_GPIOTE_RAW_CONFIG_IN_SENSE_LOTOHI
- #define GPIOTE_RAW_CONFIG_IN_SENSE_HITOLO NRFX_GPIOTE_RAW_CONFIG_IN_SENSE_HITOLO
- #define GPIOTE_RAW_CONFIG_IN_SENSE_TOGGLE NRFX_GPIOTE_RAW_CONFIG_IN_SENSE_TOGGLE
- #define GPIOTE_CONFIG_OUT_SIMPLE NRFX_GPIOTE_CONFIG_OUT_SIMPLE
- #define GPIOTE_CONFIG_OUT_TASK_LOW NRFX_GPIOTE_CONFIG_OUT_TASK_LOW
- #define GPIOTE_CONFIG_OUT_TASK_HIGH NRFX_GPIOTE_CONFIG_OUT_TASK_HIGH
- #define GPIOTE_CONFIG_OUT_TASK_TOGGLE NRFX_GPIOTE_CONFIG_OUT_TASK_TOGGLE
- #define nrf_drv_gpiote_init nrfx_gpiote_init
- #define nrf_drv_gpiote_is_init nrfx_gpiote_is_init
- #define nrf_drv_gpiote_uninit nrfx_gpiote_uninit
- #define nrf_drv_gpiote_out_init nrfx_gpiote_out_init
- #define nrf_drv_gpiote_out_uninit nrfx_gpiote_out_uninit
- #define nrf_drv_gpiote_out_set nrfx_gpiote_out_set
- #define nrf_drv_gpiote_out_clear nrfx_gpiote_out_clear
- #define nrf_drv_gpiote_out_toggle nrfx_gpiote_out_toggle
- #define nrf_drv_gpiote_out_task_enable nrfx_gpiote_out_task_enable
- #define nrf_drv_gpiote_out_task_disable nrfx_gpiote_out_task_disable
- #define nrf_drv_gpiote_out_task_addr_get nrfx_gpiote_out_task_addr_get
- #define nrf_drv_gpiote_in_init nrfx_gpiote_in_init
- #define nrf_drv_gpiote_in_uninit nrfx_gpiote_in_uninit
- #define nrf_drv_gpiote_in_event_enable nrfx_gpiote_in_event_enable
- #define nrf_drv_gpiote_in_event_disable nrfx_gpiote_in_event_disable
- #define nrf_drv_gpiote_in_is_set nrfx_gpiote_in_is_set
- #define nrf_drv_gpiote_in_event_addr_get nrfx_gpiote_in_event_addr_get
- #define nrf_drv_gpiote_set_task_addr_get nrfx_gpiote_set_task_addr_get
- #define nrf_drv_gpiote_clr_task_addr_get nrfx_gpiote_clr_task_addr_get
- #define nrf_drv_gpiote_out_task_force nrfx_gpiote_out_task_force
- #define nrf_drv_gpiote_out_task_trigger nrfx_gpiote_out_task_trigger
- #define nrf_drv_gpiote_set_task_trigger nrfx_gpiote_set_task_trigger
- #define nrf_drv_gpiote_clr_task_trigger nrfx_gpiote_clr_task_trigger
- #ifdef __cplusplus
- }
- #endif
- #endif
|