...
Code Block |
---|
int CPLDAction( int action, int val ); |
Parameters
action and val
action | description | val |
---|---|---|
CPLD_RESET_GLOBAL | hardware reset. | 1: reset, 0: - |
CPLD_RESET_AC97 | Audio/Touch codec reset | 1: assert reset pin, 0: deassert pin |
CPLD_RESET_AC97 | Audio/Touch codec reset | 1: assert reset pin, 0: deassert pin |
CPLD_RESET_ETHERNET | Ethernet-Phy reset | 1: assert reset pin, 0: deassert pin |
CPLD_RESET_WLAN | WLAN-chip reset | 1: assert reset pin, 0: deassert pin |
CPLD_RESET_BLUETOOTH |
BT-chip reset | 1: assert reset pin, 0: deassert pin | |
CPLD_HIBERNATE | Put device into hibernate/suspend state | 1: hibernate, 0: - |
CPLD_WAKEON_TOUCH | Wake from hibernate through touch-event | 1: wake, 0: do not wake on event |
CPLD_WAKEON_EXTWAKEUP | Wake from hibernate through PMIC | 1: wake, 0: do not wake on event |
CPLD_WAKEON_IRQ | Wake from hibernate through IRQ (SODIMM-pin 43) | 1: wake, 0: do not wake on event |
CPLD_ROUTE_UART3_TO_SODIMM | Routes internal UART3 to SODIMM-pins(19,21) | 1: apply routing, 0: - |
CPLD_ROUTE_UART3_TO_BLUETOOTH | Routes internal UART3 to |
BT-chip | 1: apply routing, 0: - | |
CPLD_COMPACTFLASH_MODE | Enable CompactFlash. Due to pin-multiplexing this disables UART3 | 1: apply routing, 0: - |
CPLD_PWM_ON_C00 | Routes CPLD-PWM to SODIMM-pin 69 | 1: apply routing, 0: - |
CPLD_PWM_ON_MFP43 | Routes CPLD-PWM to SODIMM-pin 77 | 1: apply routing, 0: - |
Return Values
If the function succeeds, the returned value is 1.
...