Generic Physical Timer Functions allow to control privilege level 1 physical timer registers on Generic Timer for Cortex-A7 class devices.
Reference: Cortex-A7 MPCore Technical Reference Manual.
More...
Generic Physical Timer Functions allow to control privilege level 1 physical timer registers on Generic Timer for Cortex-A7 class devices.
Reference: Cortex-A7 MPCore Technical Reference Manual.
◆ PL1_GetControl()
| __STATIC_INLINE uint32_t PL1_GetControl |
( |
| ) |
|
Get the timer control value.
- Returns
- CNTP_CTL_Type Timer control value.
◆ PL1_GetCurrentPhysicalValue()
| __STATIC_INLINE uint64_t PL1_GetCurrentPhysicalValue |
( |
void |
| ) |
|
Get the current physical counter value.
- Returns
- Current physical counter value.
◆ PL1_GetCurrentValue()
| __STATIC_INLINE uint32_t PL1_GetCurrentValue |
( |
| ) |
|
Get the current counter value.
- Returns
- Current counter value.
◆ PL1_GetPhysicalCompareValue()
| __STATIC_INLINE uint64_t PL1_GetPhysicalCompareValue |
( |
void |
| ) |
|
Get the physical compare value.
- Returns
- Physical compare value.
◆ PL1_SetControl()
| __STATIC_INLINE void PL1_SetControl |
( |
uint32_t |
value | ) |
|
Configure the timer by setting the control value.
◆ PL1_SetCounterFrequency()
| __STATIC_INLINE void PL1_SetCounterFrequency |
( |
uint32_t |
value | ) |
|
Configures the frequency the timer shall run at.
◆ PL1_SetLoadValue()
| __STATIC_INLINE void PL1_SetLoadValue |
( |
uint32_t |
value | ) |
|
Sets the reset value of the timer.
◆ PL1_SetPhysicalCompareValue()
| __STATIC_INLINE void PL1_SetPhysicalCompareValue |
( |
uint64_t |
value | ) |
|
Set the physical compare value.
- Parameters
-
| [in] | value | New physical timer compare value. |