This porting file provides the adaptation layer for the host interface.
More...
|
|
#define | WLAN_IRQ_GPIO_INTR_NUM (CSLR_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_8) |
| |
|
#define | TISCI_BANK_SRC_IDX_BASE_GPIO0 (90U) |
| | bank interrupt source index base
|
| |
|
#define | TISCI_BANK_SRC_IDX_BASE_GPIO1 (90U) |
| |
|
#define | TISCI_BANK_SRC_IDX_BASE_MCU_GPIO0 (90U) |
| |
|
|
uint32_t | gWlanENGpioAddr = 0 |
| |
|
uint32_t | gWlanIRQGpioAddr = 0 |
| |
|
HwiP_Object | gWlanIRQHwiObject |
| |
This porting file provides the adaptation layer for the host interface.
§ GetState_WL()
Get the state of the pre-configured output GPIO.
- Note
- Returns
- 0 for off, and 1 for on
- Warning
§ TurnOff_WL()
Use pre-configured output GPIO to turn off Wi-Fi device.
- Note
- Must use pre-configured GPIO; set GPIO output to 0 for off, and 1 for on
- Returns
- Warning
§ TurnOn_WL()
Use pre-configured output GPIO to turn on Wi-Fi device.
- Note
- Must use pre-configured GPIO; set GPIO output to 0 for off, and 1 for on
- Returns
- Warning
§ Wlan_IRQ_clear_int()
| void Wlan_IRQ_clear_int |
( |
| ) |
|
Wlan clear pending interrupt.
- Note
- Must implement only if working with active low assertion
- Returns
- Warning
§ Wlan_IRQ_deinit()
Removes input GPIO from the system interrupts.
- Note
- Returns
- Warning
§ Wlan_IRQ_disable_int()
| void Wlan_IRQ_disable_int |
( |
| ) |
|
Wlan disable input interrupt.
- Note
- Must implement only if working with active low assertion
- Returns
- Warning
§ Wlan_IRQ_enable_int()
| void Wlan_IRQ_enable_int |
( |
| ) |
|
Wlan enable input interrupt.
- Note
- Must implement only if working with active low assertion
- Returns
- Warning
§ Wlan_IRQ_init()
| void Wlan_IRQ_init |
( |
void * |
cb | ) |
|
Initialize the input GPIO as IRQ.
- Parameters
-
| cb | - GPIO ISR called upon assertion |
- Note
- If GPIO input is triggered by:
- Falling edge - not required to implement Wlan_IRQ_enable_int, Wlan_IRQ_disable_int, and Wlan_IRQ_clear_int
- Active low - must implement Wlan_IRQ_enable_int amd Wlan_IRQ_disable_int
- Returns
- Warning