mbed HRM11017を使ってkonashi.jsでナイトライダー

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_RCBController by Junichi Katsu

Embed: (wiki syntax)

« Back to documentation index

app_button_cfg_t Struct Reference

app_button_cfg_t Struct Reference
[Button Handler]

Button configuration structure. More...

#include <app_button.h>

Data Fields

uint8_t pin_no
 Pin to be used as a button.
bool active_high
 TRUE if pin is active high, FALSE otherwise.
nrf_gpio_pin_pull_t pull_cfg
 Pull-up or -down configuration.
app_button_handler_t button_handler
 Handler to be called when button is pushed.

Detailed Description

Button configuration structure.

Definition at line 59 of file app_button.h.


Field Documentation

TRUE if pin is active high, FALSE otherwise.

Definition at line 62 of file app_button.h.

Handler to be called when button is pushed.

Definition at line 64 of file app_button.h.

uint8_t pin_no

Pin to be used as a button.

Definition at line 61 of file app_button.h.

Pull-up or -down configuration.

Definition at line 63 of file app_button.h.