33 #ifndef SIF_BTN_EXT_PI4IOE5V96248_H 
   34 #define SIF_BTN_EXT_PI4IOE5V96248_H 
   42 #define SIF_SetButtonShortPressCallbackExt Btn_SetButtonShortPressCallbackExt 
   43 #define SIF_SetButtonLongPressCallbackExt Btn_SetButtonLongPressCallbackExt 
   44 #define SIF_SetButtonHoldCallbackExt Btn_SetButtonHoldCallbackExt 
The main ca821x-api include file.
 
Global error declarations for use across the Cascoda SDK.
 
Type definitions used by Cascoda baremetal drivers.
 
unsigned char u8_t
Definition: cascoda_types.h:46
 
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
 
ca_error SIF_SenseOutputExt(uint8_t ledBtn, u8_t *val)
Get the state of the output/LED.
Definition: sif_btn_ext_pi4ioe5v96248.c:109
 
bool SIF_CanSleepExt(void)
Check if all buttons have been handled.
Definition: sif_btn_ext_pi4ioe5v6408.c:192
 
ca_error SIF_SenseAllExt(u8_t *values)
Get the state all buttons.
Definition: sif_btn_ext_pi4ioe5v96248.c:123
 
ca_error SIF_RegisterOutputExt(uint8_t ledBtn)
Set the functionality of an output/LED to be an output.
Definition: sif_btn_ext_pi4ioe5v6408.c:54
 
ca_error SIF_InitialiseGPIOExt(void)
Initialise GPIO extender.
Definition: sif_btn_ext_pi4ioe5v6408.c:39
 
ca_error SIF_SetOutputExt(uint8_t ledBtn, u8_t val)
Set the state of the output/LED.
Definition: sif_btn_ext_pi4ioe5v96248.c:81
 
ca_error SIF_PollButtonsExt(void)
Main polling function to activate callbacks for any buttons that are currently being pressed.
Definition: sif_btn_ext_pi4ioe5v6408.c:176
 
ca_error SIF_DeRegisterExt(uint8_t ledBtn)
De-Register an LED or Button Pin.
Definition: sif_btn_ext_pi4ioe5v6408.c:107
 
ca_error SIF_RegisterButtonInputExt(uint8_t ledBtn)
Set the functionality of a button to be an input.
Definition: sif_btn_ext_pi4ioe5v6408.c:71
 
ca_error SIF_SenseExt(uint8_t ledBtn, u8_t *val)
Get the state of the input/Button.
Definition: sif_btn_ext_pi4ioe5v96248.c:95
 
ca_error SIF_RegisterGeneralInputExt(uint8_t ledBtn, uint8_t pullup_on)
Set the functionality to be a general input (no interrupt, polling only)
Definition: sif_btn_ext_pi4ioe5v6408.c:90