Knight Rider PIO sample for teckBASIC, konashi.js

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_konashi_PIO_test by Michio Ono

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.

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.

Detailed Description

Definition in file app_gpiote.h.