Class to manage and configure timing and clock synchronization in the RMM system.
More...
#include <RMMClocks.h>
Class to manage and configure timing and clock synchronization in the RMM system.
◆ RMMClocks()
Constructor of the RMMClocks.
- Parameters
-
| RMMRegs | Reference to the RMMRegisterAccess instance used to interact with RMM hardware registers. |
◆ getCurrentTime()
| rmmStatus RMMClocks::getCurrentTime |
( |
uint32_t * | currentTime | ) |
|
Get the current timestamping for RMM.
- Parameters
-
| currentTime | pointer to current time. |
- Returns
- rmmStatus
◆ getTimingStatus()
Get the status of the timestamping system (including the embedded EVR) in the RMM.
- Parameters
-
| time | pointer to struct of timing status registers to be populated. |
- Returns
- rmmStatus success
◆ setEventCode()
| rmmStatus RMMClocks::setEventCode |
( |
uint32_t | eventCode | ) |
|
Set MRF event code.
- Parameters
-
| eventCode | Event code number |
- Returns
- rmmStatus
◆ setupAll()
| rmmStatus RMMClocks::setupAll |
( |
TimingMode | timingMode | ) |
|
Setup all clocks and the timing system.
- Parameters
-
| [in] | timingMode | The timing mode to be used for clock configuration. |
The following TimingMode values are supported:
MRF: Mode for MRF-based timing configuration.
LCL: Local mode for internal clock synchronization.
EXT: External mode for using external clock sources.
- Returns
rmmSuccess if all configurations are completed successfully. Otherwise, returns an appropriate error status if any clock configuration step fails.
The documentation for this class was generated from the following files: