CMSIS-Driver
Version 2.8.0
Peripheral Interface for Middleware and Application Code
|
Control codes for ARM_ETH_MAC_ControlTimer function. More...
Macros | |
#define | ARM_ETH_MAC_TIMER_GET_TIME (0x01UL) |
Get current time. More... | |
#define | ARM_ETH_MAC_TIMER_SET_TIME (0x02UL) |
Set new time. More... | |
#define | ARM_ETH_MAC_TIMER_INC_TIME (0x03UL) |
Increment current time. More... | |
#define | ARM_ETH_MAC_TIMER_DEC_TIME (0x04UL) |
Decrement current time. More... | |
#define | ARM_ETH_MAC_TIMER_SET_ALARM (0x05UL) |
Set alarm time. More... | |
#define | ARM_ETH_MAC_TIMER_ADJUST_CLOCK (0x06UL) |
Adjust clock frequency; time->ns: correction factor * 2^31. More... | |
Control codes for ARM_ETH_MAC_ControlTimer function.
The following timer controls are used as parameter control for the ARM_ETH_MAC_ControlTimer function:
#define ARM_ETH_MAC_TIMER_GET_TIME (0x01UL) |
Get current time.
#define ARM_ETH_MAC_TIMER_SET_TIME (0x02UL) |
Set new time.
#define ARM_ETH_MAC_TIMER_INC_TIME (0x03UL) |
Increment current time.
#define ARM_ETH_MAC_TIMER_DEC_TIME (0x04UL) |
Decrement current time.
#define ARM_ETH_MAC_TIMER_SET_ALARM (0x05UL) |
Set alarm time.
#define ARM_ETH_MAC_TIMER_ADJUST_CLOCK (0x06UL) |
Adjust clock frequency; time->ns: correction factor * 2^31.