xpci3xxx
1.00.00
|
Macros | |
#define | CMD_xpci3xxx_InitWatchdog _IOR(xpci3xxx_MAGIC, 120,long) |
Initialize the watchdog. More... | |
#define | CMD_xpci3xxx_ReleaseWatchdog _IOR(xpci3xxx_MAGIC, 121,long) |
Stops and frees the watchdog. More... | |
#define | CMD_xpci3xxx_StartWatchdog _IOR(xpci3xxx_MAGIC, 122,long) |
Start the selected watchdog. More... | |
#define | CMD_xpci3xxx_StartAllWatchdogs _IOR(xpci3xxx_MAGIC, 123,long) |
Start all initialized watchdogs. More... | |
#define | CMD_xpci3xxx_TriggerWatchdog _IOR(xpci3xxx_MAGIC, 124,long) |
Triggers the selected watchdog. More... | |
#define | CMD_xpci3xxx_TriggerAllWatchdogs _IOR(xpci3xxx_MAGIC, 125,long) |
Triggers all watchdogs. More... | |
#define | CMD_xpci3xxx_StopWatchdog _IOR(xpci3xxx_MAGIC, 126,long) |
Stop the selected watchdog. More... | |
#define | CMD_xpci3xxx_StopAllWatchdogs _IOR(xpci3xxx_MAGIC, 127,long) |
Stop all watchdogs. More... | |
#define | CMD_xpci3xxx_ReadWatchdogStatus _IOR(xpci3xxx_MAGIC, 128,long) |
Read the watchdogs status. More... | |
#define | CMD_xpci3xxx_ReadWatchdogValue _IOR(xpci3xxx_MAGIC, 129,long) |
Read the watchdog value. More... | |
#define | CMD_xpci3xxx_EnableDisableWatchdogInterrupt _IOR(xpci3xxx_MAGIC, 130,long) |
Enable/disable the watchdog interrupt. More... | |
#define | CMD_xpci3xxx_EnableDisableWatchdogHardwareOutput _IOR(xpci3xxx_MAGIC, 131,long) |
Enable/disable the watchdog hardware output. More... | |
#define | CMD_xpci3xxx_GetWatchdogHardwareOutputStatus _IOR(xpci3xxx_MAGIC, 132,long) |
Return the status of the hardware watchdog output. More... | |
#define CMD_xpci3xxx_EnableDisableWatchdogHardwareOutput _IOR(xpci3xxx_MAGIC, 131,long) |
Enable/disable the watchdog hardware output.
[in] | uint8_t | arg[3] Parameters |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong Watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
6 | : Wrong output flag |
7 | : Wrong output level |
Definition at line 1744 of file xpci3xxx.h.
#define CMD_xpci3xxx_EnableDisableWatchdogInterrupt _IOR(xpci3xxx_MAGIC, 130,long) |
Enable/disable the watchdog interrupt.
uint8_t arg[2] Parameters
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
6 | : Wrong interrupt flag |
7 | : Interrupt Callback not installed |
Definition at line 1724 of file xpci3xxx.h.
#define CMD_xpci3xxx_GetWatchdogHardwareOutputStatus _IOR(xpci3xxx_MAGIC, 132,long) |
Return the status of the hardware watchdog output.
[in,out] | uint8_t | arg[2] |
0 | : No error occur |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong Watchdog number |
4 | : Watchdog as timer already used |
5 | : Watchdog already used as counter |
Definition at line 1760 of file xpci3xxx.h.
#define CMD_xpci3xxx_InitWatchdog _IOR(xpci3xxx_MAGIC, 120,long) |
Initialize the watchdog.
[in] | uint32_t | *arg Parameters |
0 | : Success |
1 | : Internal error |
2 | : Wrong watchdog number |
3 | : Watchdog already configured as timer |
4 | : Watchdog already used as counter |
5 | : Wrong time unit |
6 | : Wrong reload value |
Definition at line 1590 of file xpci3xxx.h.
#define CMD_xpci3xxx_ReadWatchdogStatus _IOR(xpci3xxx_MAGIC, 128,long) |
Read the watchdogs status.
[in,out] | uint8_t | arg[4] Parameter and result |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not initialized |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
Definition at line 1689 of file xpci3xxx.h.
#define CMD_xpci3xxx_ReadWatchdogValue _IOR(xpci3xxx_MAGIC, 129,long) |
Read the watchdog value.
[in,out] | uint32_t | arg[2] |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
Definition at line 1705 of file xpci3xxx.h.
#define CMD_xpci3xxx_ReleaseWatchdog _IOR(xpci3xxx_MAGIC, 121,long) |
Stops and frees the watchdog.
[in] | uint8_t | *arg Selected watchdog number |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
Definition at line 1603 of file xpci3xxx.h.
#define CMD_xpci3xxx_StartAllWatchdogs _IOR(xpci3xxx_MAGIC, 123,long) |
Start all initialized watchdogs.
NULL | (ignored) |
0 | : Success |
1 | : Internal error |
Definition at line 1626 of file xpci3xxx.h.
#define CMD_xpci3xxx_StartWatchdog _IOR(xpci3xxx_MAGIC, 122,long) |
Start the selected watchdog.
[in] | uint8_t | *arg Selected watchdog number |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
Definition at line 1616 of file xpci3xxx.h.
#define CMD_xpci3xxx_StopAllWatchdogs _IOR(xpci3xxx_MAGIC, 127,long) |
Stop all watchdogs.
NULL | (ignored) |
0 | : Success |
1 | : Internal error |
Definition at line 1671 of file xpci3xxx.h.
#define CMD_xpci3xxx_StopWatchdog _IOR(xpci3xxx_MAGIC, 126,long) |
Stop the selected watchdog.
[in] | uint8_t | *arg Selected watchdog number |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
Definition at line 1662 of file xpci3xxx.h.
#define CMD_xpci3xxx_TriggerAllWatchdogs _IOR(xpci3xxx_MAGIC, 125,long) |
Triggers all watchdogs.
NULL | (ignored) |
0 | : Success |
1 | : Internal error |
Definition at line 1648 of file xpci3xxx.h.
#define CMD_xpci3xxx_TriggerWatchdog _IOR(xpci3xxx_MAGIC, 124,long) |
Triggers the selected watchdog.
[in] | uint8_t | *arg Selected watchdog number |
0 | : Success |
1 | : Internal error |
2 | : Watchdog not intialised |
3 | : Wrong watchdog number |
4 | : Watchdog already configured as timer |
5 | : Watchdog already used as counter |
Definition at line 1639 of file xpci3xxx.h.