SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

app_gpiote.h File Reference

app_gpiote.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* app_gpiote_event_handler_t )(uint32_t event_pins_low_to_high, uint32_t event_pins_high_to_low)
 GPIOTE event handler type.
typedef void(* app_gpiote_input_event_handler_t )(void)
 GPIOTE input event handler type.

Functions

uint32_t app_gpiote_init (uint8_t max_users, void *p_buffer)
 Function for initializing the GPIOTE module.
uint32_t app_gpiote_user_register (app_gpiote_user_id_t *p_user_id, uint32_t pins_low_to_high_mask, uint32_t pins_high_to_low_mask, app_gpiote_event_handler_t event_handler)
 Function for registering a GPIOTE user.
uint32_t app_gpiote_user_enable (app_gpiote_user_id_t user_id)
 Function for informing the GPIOTE module that the specified user wants to use the GPIOTE module.
uint32_t app_gpiote_user_disable (app_gpiote_user_id_t user_id)
 Function for informing the GPIOTE module that the specified user is done using the GPIOTE module.
uint32_t app_gpiote_pins_state_get (app_gpiote_user_id_t user_id, uint32_t *p_pins)
 Function for getting the state of the pins which are registered for the specified user.
uint32_t app_gpiote_input_event_handler_register (const uint8_t channel, const uint32_t pin, const uint32_t polarity, app_gpiote_input_event_handler_t event_handler)
 Function for registering event handlers for GPIOTE IN events.
uint32_t app_gpiote_input_event_handler_unregister (const uint8_t channel)
 Function for unregistering event handlers for GPIOTE IN events.
uint32_t app_gpiote_end_irq_event_handler_register (app_gpiote_input_event_handler_t event_handler)
 Function for registering event handler invoked at the end of a GPIOTE interrupt.
uint32_t app_gpiote_end_irq_event_handler_unregister (void)
 Function for unregistering event handler invoked at the end of a GPIOTE interrupt.
uint32_t app_gpiote_enable_interrupts (void)
 Function for enabling interrupts in the GPIOTE driver.
uint32_t app_gpiote_disable_interrupts (void)
 Function for disabling interrupts in the GPIOTE driver.

Detailed Description

Definition in file app_gpiote.h.