pitx-sp_cpld - pITX-SP CPLD general driver
pitxCpldInit( ) - initialize pITX-SP CPLD
cpldGpioEnable( ) - Enable GPIOs
cpldGpioDisable( ) - Disable GPIOs
cpldGpioIntEnable( ) - Enable GPIO interrupts
cpldGpioIntDisable( ) - Disable GPIO interrupts
cpldJumperStatusGet( ) - get autostart jumper status
cpldSetAutostart( ) - set autostart function
cpldWakeonLanEnable( ) - Wake on LAN control enable
cpldWakeonLanDisable( ) - Wake on LAN control disable
Basic functions to control pITX-SP CPLD. For details see: KTD-S0003-C pITX-SP Software Guide
pitxCpldInit( ) - initialize pITX-SP CPLD
void pitxCpldInit(void)
This function should be called before any other CPLD function (GPIO, fan, watchdog)
N/A
pitx
cpldGpioEnable( ) - Enable GPIOs
void cpldGpioEnable(void)
This function enables GPIO (enabled by default) implemented in CPLD
N/A
pitx
cpldGpioDisable( ) - Disable GPIOs
void cpldGpioDisable(void)
This function disables GPIOs (enabled by default)
N/A
pitx
cpldGpioIntEnable( ) - Enable GPIO interrupts
void cpldGpioIntEnable(void)
This function enables GPIO interrupts
N/A
pitx
cpldGpioIntDisable( ) - Disable GPIO interrupts
void cpldGpioIntDisable(void)
This function disables GPIO interrupts
N/A
pitx
cpldJumperStatusGet( ) - get autostart jumper status
UINT8 cpldJumperStatusGet(void)
This function returns status of autostart jumper
0 or 1
pitx
cpldSetAutostart( ) - set autostart function
void cpldSetAutostart(UINT8 func)
This function returns status of autostart jumper
- func
1 - restart, 0 - do nothing
N/A
pitx
cpldWakeonLanEnable( ) - Wake on LAN control enable
void cpldWakeonLanEnable(void)
This function enables Wake on Lan Control
N/A
pitx
cpldWakeonLanDisable( ) - Wake on LAN control disable
void cpldWakeonLanDisable(void)
This function disables Wake on Lan Control
N/A
pitx