AIROC™ BTSDK v4.9 - Documentation | ||||
> More...
Macros | |
#define | WICED_PCM_IN_I2S_DI WICED_PCM_IN |
Aliases for compatibility with UDD signal definitions. | |
#define | WICED_PCM_OUT_I2S_DO WICED_PCM_OUT |
#define | WICED_PCM_SYNC_I2S_WS WICED_PCM_SYNC |
#define | WICED_PCM_CLK_I2S_CLK WICED_PCM_CLK |
#define | WICED_PDM_DATA WICED_GPIO |
Alias for compatibility with WICED_PDM_DATA until PDM handled. | |
#define | WICED_GPIO_ACTIVE_HIGH 1 |
GPIO Active Level HIGH. | |
#define | WICED_GPIO_ACTIVE_LOW 0 |
GPIO Active Level LOW. | |
#define | WICED_HAL_GPIO_PIN_UNUSED 0xFF |
Invalid GPIO pin. | |
Typedefs | |
typedef enum GPIO_STATUS_e | wiced_bt_gpio_select_status_t |
Possible return values from wiced_hal_gpio_select_function(...), Callers only need to check for the GPIO_FAILURE case since any other status means success. | |
Functions | |
void | wiced_hal_gpio_init (void) |
Initializes the GPIO driver and its private values. More... | |
void | wiced_hal_gpio_configure_pin (uint32_t pin, uint32_t config, uint32_t outputVal) |
Configures a GPIO pin. More... | |
uint16_t | wiced_hal_gpio_get_pin_config (uint32_t pin) |
Retrieve the current configuration of the specified pin. More... | |
void | wiced_hal_gpio_set_pin_output (uint32_t pin, uint32_t val) |
Sets the output value of a pin. More... | |
uint32_t | wiced_hal_gpio_get_pin_output (uint32_t pin) |
Get the programmed output value of a pin. More... | |
uint32_t | wiced_hal_gpio_get_pin_input_status (uint32_t pin) |
Read the current value at a pin. More... | |
uint32_t | wiced_hal_gpio_get_pin_interrupt_status (uint32_t pin) |
Get the interrupt status of a pin. More... | |
void | wiced_hal_gpio_register_pin_for_interrupt (uint16_t pin, void(*userfn)(void *, uint8_t), void *userdata) |
Register a function for notification of changes to a pin (via interrupt). More... | |
uint32_t | wiced_hal_gpio_clear_pin_interrupt_status (uint32_t pin) |
Clear the interrupt status of a pin manually. More... | |
void | wiced_hal_gpio_disable_all_inputs (void) |
Configures all GPIOs except P26 to be INPUT DISABLED. More... | |
BOOL32 | wiced_hal_gpio_slimboot_reenforce_cfg (uint8_t pin, uint16_t config) |
Save the LHL GPIO configuration in AON memeory to reenforce in slimboot This is a must if we want to wake up in SDS by external LHL GPIO interrupts. More... | |
wiced_bt_gpio_select_status_t | wiced_hal_gpio_select_function (wiced_bt_gpio_numbers_t pin, wiced_bt_gpio_function_t function) |
Configure a GPIO pin to have the chosen functionality. More... | |
void | wiced_hal_unassign_gpio_function (uint32_t pin, uint32_t function) |
Unassign a GPIO pin functionality. More... | |
>
List of parameters and defined functions needed to access the General Purpose Input/Output (GPIO) driver.
This software, including source code, documentation and related materials ("Software") is owned by Cypress Semiconductor Corporation or one of its affiliates ("Cypress") and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Therefore, you may use this Software only as provided in the license agreement accompanying the software package from which you obtained this Software ("EULA"). If no EULA applies, Cypress hereby grants you a personal, non-exclusive, non-transferable license to copy, modify, and compile the Software source code solely for use in connection with Cypress's integrated circuit products. Any reproduction, modification, translation, compilation, or representation of this Software except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: THIS SOFTWARE IS PROVIDED AS-IS, WITH NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, NONINFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes to the Software without notice. Cypress does not assume any liability arising out of the application or use of the Software or any product or circuit described in the Software. Cypress does not authorize its products for use in any products where a malfunction or failure of the Cypress product may reasonably be expected to result in significant property damage, injury or death ("High Risk Product"). By including Cypress's product in a High Risk Product, the manufacturer of such system or application assumes all risk of such use and in doing so agrees to indemnify Cypress against all liability.