12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- #ifndef NRF21540_GPIO_H_
- #define NRF21540_GPIO_H_
- #include "nrf_gpio.h"
- #include "nrf21540_types.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- void nrf21540_gpio_init(void);
- ret_code_t nrf21540_gpio_ant_set(nrf21540_antenna_t antenna);
- #if NRF21540_USE_GPIO_MANAGEMENT
- uint32_t nrf21540_gpio_trx_task_start_address_get(nrf21540_trx_t dir,
- nrf21540_bool_state_t required_state);
- void nrf21540_gpio_trx_enable(nrf21540_trx_t dir);
- ret_code_t nrf21540_gpio_pwr_mode_set(nrf21540_pwr_mode_t mode);
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|