PRELIMIN ARY
7BGPIO Information
CYW920706WCDEVAL Hardware User Guide Doc. No.: 002-16535 Rev. **
28
8.2 LHL GPIO Capabilities
The LHL GPIOs have the following capabilities:
Each can be programmed to serve one of the signal functions associated with it (see
Multiplexed GPIO_Pxx Interface
or
All can be input and output disabled (HI-Z), input enabled, or output enabled.
An internal pull-up or pull-down can be configured on input-enabled GPIOs.
An output-enabled GPIO that is driven HIGH or LOW will remain driven while in the Low Power and Deep Sleep modes.
All GPIOs, excluding P26–P29, can source or sink up to 8 mA at 3.3 V and 4 mA at 1.8 V.
GPIOs P26–P29 can source or sink 16 mA at 3.3 V and 8 mA at 1.8 V.
All GPIOs can be configured for edge (rising/falling/both) or level interrupts.
Below is an example GPIO configuration for an input with a resistive pulldown that is enabled, and a rising edge interrupt:
wiced_hal_gpio_configure_pin( gpio_num, (GPIO_INPUT_ENABLE | GPIO_PULL_DOWN |
GPIO_EN_INT_RISING_EDGE),GPIO_PIN_OUTPUT_LOW );
Application-level interrupt handlers can be configured to handle interrupts in the application thread context and interrupts can
be configured to wake the system from the Low Power and Deep Sleep modes. For more information on the Low Power and
Deep Sleep modes, see
Note:
See Section
”, for GPIO programming information, including the enabling and
disabling of inputs and outputs, edge triggering, and interrupt configuration.