AIROC™ BTSDK v4.7 - Documentation | ||||
List of parameters and defined functions needed to access the General Purpose Input/Ouput (GPIO) driver. More...
Macros | |
#define | wiced_hal_gpio_register_pin_for_interrupt wiced_hal_gpio_register_pin_for_interrupt_patch |
#define | WICED_GPIO_ACTIVE_HIGH 1 |
#define | WICED_GPIO_ACTIVE_LOW 0 |
Typedefs | |
typedef enum wiced_bt_gpio_numbers_e | wiced_bt_gpio_numbers_t |
GPIO Numbers : first 8 are ARM GPIOs and following rest are LHL GPIOs. | |
Enumerations | |
enum | wiced_bt_gpio_numbers_e { WICED_P00 = 0, WICED_P01, WICED_P02, WICED_P03, WICED_P04, WICED_P05, WICED_P06, WICED_P07, WICED_P08, WICED_P09, WICED_P10, WICED_P11, WICED_P12, WICED_P13, WICED_P14, WICED_P15, WICED_P16, WICED_P17, WICED_P18, WICED_P19, WICED_P20, WICED_P21, WICED_P22, WICED_P23, WICED_P24, WICED_P25, WICED_P26, WICED_P27, WICED_P28, WICED_P29, WICED_P30, WICED_P31, WICED_P32, WICED_P33, WICED_P34, WICED_P35, WICED_P36, WICED_P37, WICED_P38, WICED_P39, WICED_GPIO_00, WICED_GPIO_01, WICED_GPIO_02, WICED_GPIO_03, WICED_GPIO_04, WICED_GPIO_05, WICED_GPIO_06, WICED_GPIO_07, MAX_NUM_OF_GPIO } |
GPIO Numbers : first 8 are ARM GPIOs and following rest are LHL GPIOs. More... | |
Functions | |
static INLINE void | wiced_hal_gpio_init (void) |
Initializes the GPIO driver and its private values. More... | |
UINT8 | wiced_hal_gpio_pin_to_port_pin (UINT8 pin) |
Convert a given schematic pin number (i.e. More... | |
void | wiced_hal_gpio_configure_pin (BYTE pin, UINT16 config, BYTE outputVal) |
Configures a GPIO pin. More... | |
UINT16 | wiced_hal_gpio_get_pin_config (BYTE pin) |
Retrieve the current configuration of the specified pin. More... | |
void | wiced_hal_gpio_set_pin_output (BYTE pin, BYTE val) |
Sets the output value of a pin. More... | |
BYTE | wiced_hal_gpio_get_pin_output (BYTE pin) |
Get the programmed output value of a pin. More... | |
BYTE | wiced_hal_gpio_get_pin_input_status (BYTE pin) |
Read the current value at a pin. More... | |
BYTE | wiced_hal_gpio_get_pin_interrupt_status (BYTE pin) |
Get the interrupt status of a pin. More... | |
void | wiced_hal_gpio_register_pin_for_interrupt (UINT16 pin, void(*userfn)(void *, UINT8), void *userdata) |
Register a function for notification of changes to a pin (via interrupt). More... | |
BYTE | wiced_hal_gpio_clear_pin_interrupt_status (BYTE pin) |
Clear the interrupt status of a pin manually. More... | |
static INLINE void | wiced_hal_gpio_disable_all_inputs (void) |
Configures all gpios to be INPUT DISABLED. More... | |
List of parameters and defined functions needed to access the General Purpose Input/Ouput (GPIO) driver.