Go to the source code of this file.
◆ DVBD_CanSleep
◆ DVBD_DevboardSleep
◆ DVBD_PollButtons
◆ DVBD_Sense
◆ DVBD_SenseOutput
◆ DVBD_SetButtonHoldCallback
◆ DVBD_SetButtonLongPressCallback
◆ DVBD_SetButtonShortPressCallback
◆ DVBD_SetGPIOWakeup
◆ DVBD_SetLED
◆ DVBD_SetSleepPermanently
◆ dvbd_led_btn
Number of the LED/Button.
◆ dvbd_led_btn_jumper_position
Jumper position controls which module pin is used for the LED/Button.
◆ dvbd_led_btn
Number of the LED/Button.
| Enumerator |
|---|
| DEV_SWITCH_1 | |
| DEV_SWITCH_2 | |
| DEV_SWITCH_3 | |
| DEV_SWITCH_4 | |
◆ dvbd_led_btn_jumper_position
Jumper position controls which module pin is used for the LED/Button.
| Enumerator |
|---|
| JUMPER_POS_1 | Jumper connects pins 1 and 2.
|
| JUMPER_POS_2 | Jumper connects pins 2 and 3.
|
◆ DVBD_DeRegister()
De-Register an LED or Button Pin.
- Parameters
-
| ledBtn | - reference to LED/Button |
| jumperPos | - position of the jumper |
- Returns
- status
◆ DVBD_modifyPinMappings()
Modify possible pin mappings.
- Returns
- status
◆ DVBD_RegisterButtonInput()
Register button input.
- Parameters
-
| ledBtn | - reference to button |
| jumperPos | - posititon of the jumper |
- Returns
- status
◆ DVBD_RegisterButtonIRQInput()
Register button input with interrupt (for sleepy devices)
- Parameters
-
| ledBtn | - reference to button |
| jumperPos | - posititon of the jumper |
- Returns
- status
◆ DVBD_RegisterLEDOutput()
Register LED output (open drain)
- Parameters
-
| ledBtn | - reference to LED |
| jumperPos | - posititon of the jumper |
- Returns
- status
◆ DVBD_RegisterSharedButtonLED()
Register button as shared input/output.
- Parameters
-
| ledBtn | - reference to button |
| jumperPos | - posititon of the jumper |
- Returns
- status
◆ DVBD_RegisterSharedIRQButtonLED()
Set the functionality of a button to be shared interrupt input/output.
- Parameters
-
| ledBtn | - reference to button |
| jumperPos | - posititon of the jumper |
- Returns
- status