| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Macros
Ethernet MAC Timer Control Codes
Ethernet Interface » Ethernet MAC Interface

Control codes for ARM_ETH_MAC_ControlTimer function. More...

## Macros
#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.

## Description

Control codes for ARM_ETH_MAC_ControlTimer function.

The following timer controls are used as parameter control for the ARM_ETH_MAC_ControlTimer function:

## Macro Definition Documentation

## ◆ ARM_ETH_MAC_TIMER_GET_TIME

#define ARM_ETH_MAC_TIMER_GET_TIME (0x01UL)

Get current time.

See also
  ARM_ETH_MAC_ControlTimer

## ◆ ARM_ETH_MAC_TIMER_SET_TIME

#define ARM_ETH_MAC_TIMER_SET_TIME (0x02UL)

Set new time.

See also
  ARM_ETH_MAC_ControlTimer

## ◆ ARM_ETH_MAC_TIMER_INC_TIME

#define ARM_ETH_MAC_TIMER_INC_TIME (0x03UL)

Increment current time.

See also
  ARM_ETH_MAC_ControlTimer

## ◆ ARM_ETH_MAC_TIMER_DEC_TIME

#define ARM_ETH_MAC_TIMER_DEC_TIME (0x04UL)

Decrement current time.

See also
  ARM_ETH_MAC_ControlTimer

## ◆ ARM_ETH_MAC_TIMER_SET_ALARM

#define ARM_ETH_MAC_TIMER_SET_ALARM (0x05UL)

Set alarm time.

See also
  ARM_ETH_MAC_ControlTimer

## ◆ ARM_ETH_MAC_TIMER_ADJUST_CLOCK

#define ARM_ETH_MAC_TIMER_ADJUST_CLOCK (0x06UL)

Adjust clock frequency; time->ns: correction factor * 2^31.

See also
  ARM_ETH_MAC_ControlTimer