Access to information is restricted depending on your login.
Request login-information through our contact form.
Access to information is restricted depending on your login.
Request login-information through our contact form.
The function CPLDAction performs custom actions associated with the onboard Trizeps6 CPLD.
int CPLDAction( int action, int val );
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 | Bluetooth-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 bluetooth-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: - |
If the function succeeds, the returned value is 1.
If the function fails, the return value is 0.
Most functions are called through drivers and should not be touched by user-applications.
OS Versions: Windows Embedded CE 6 and later.
Header: drvlib_app.h.
Link Library: drvlib_app.lib.