Mistake on this page?
Report an issue in GitHub or email us
Typedefs | Enumerations
PAL_BUTTON

Typedefs

typedef void(* PalBtnActionCback_t) (uint8_t btnId, PalBtnPos_t state)
 Action callback signature. More...
 

Enumerations

Detailed Description

Typedef Documentation

typedef void(* PalBtnActionCback_t) (uint8_t btnId, PalBtnPos_t state)

Action callback signature.

Definition at line 58 of file pal_btn.h.

Enumeration Type Documentation

anonymous enum

Audio button assignments (only mapped in audio applications).

Enumerator
PAL_BTN_AUDIO_PLAY 

Play button.

PAL_BTN_AUDIO_FWD 

Fast Forward button.

PAL_BTN_AUDIO_RWD 

Fast Rewind button.

PAL_BTN_AUDIO_VOL_UP 

Volume Up button.

PAL_BTN_AUDIO_VOL_DN 

Volume Down button.

PAL_BTN_AUDIO_MUTE 

Mute button.

Definition at line 61 of file pal_btn.h.

Button position.

Enumerator
PAL_BTN_POS_INVALID 

Button position is invalid.

PAL_BTN_POS_DOWN 

Button position is depressed.

PAL_BTN_POS_UP 

Button position is released.

Definition at line 50 of file pal_btn.h.

Operational states.

Enumerator
PAL_BTN_STATE_UNINIT 

Uninitialized state.

PAL_BTN_STATE_ERROR 

Error state.

PAL_BTN_STATE_READY 

Ready state.

Definition at line 42 of file pal_btn.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.