1 of 1 people found this helpful
If you are planning to use all of the pins as GPIOs, you have to initialize them based on the pinmux table provided in the schematic. If configured as gpio, the irqs are listed in the following location
An example usage of the API is,
wiced_gpio_input_irq_enable(WICED_BUTTON1, IRQ_TRIGGER_FALLING_EDGE, button1_isr, NULL );
You can check out the supported interrupts for 4390x based platform in the following directory.
VBAT is an input to the PMU core which is being used to drive the supply of the CBUCK stage. You can refer to the section 2.2 of CYW43907 Data Sheet (2.4/5GHz, 802.11b/g/n with Embedded ARM Cortex-R4 Application Processor) for typical VBAT levels.
Thanks! I'll try the GPIO stuff out - I was already aware of the function
of the VBAT pin, I'm wondering if there's anything in the power management
module that measures the battery voltage.
2 of 2 people found this helpful
Unfortunately, there is nothing in the power management module which measures the VBAT voltage; hence you can't raise an interrupt from that based on battery level.