# /space/home/slher/rel/Beken/v6_4_5/macsw/plf/refip/src/driver/button/button.c File Reference

Push button driver. More...

`#include "button.h"`
`#include "intc.h"`
`#include "rwnx_config.h"`
`#include <stddef.h>`

Go to the source code of this file.

## Data Structures
struct | button_cb_tag
| Button callback type. More...
## Functions
void | button_register (button_cb cb, void *env)
| Register callback for push button.
void | button_unregister ()
| Unregister push button callback.
void | button_enable ()
| Enable push button interrupt.
void | button_disable ()
| Disable push button interrupt.
void | button_isr ()
| Push button interrupt service routine.
void | button_init ()
| Push button initialization.
## Variables
struct button_cb_tag | button_cb_env
| Button callback.

## Detailed Description

Push button driver.

Copyright (C) RivieraWaves 2011-2019

Definition in file button.c.