The control register for the physical timer. More...
Functions | |
__STATIC_FORCEINLINE void | __set_CNTP_CTL (uint32_t value) |
Set CNTP_CTL. | |
__STATIC_FORCEINLINE uint32_t | __get_CNTP_CTL (void) |
Get CNTP_CTL register. | |
The control register for the physical timer.
Bits | Name | Function |
---|---|---|
[31:3] | - | Reserved. |
[2] | ISTATUS | The status of the timer. |
[1] | IMASK | Timer output signal mask bit. |
[0] | ENABLE | Enables the timer. |
Consider __get_CNTP_CTL and __set_CNTP_CTL to access this register.
Consider using Generic Physical Timer Functions for controlling the PL1 Timer instead.
__STATIC_FORCEINLINE uint32_t __get_CNTP_CTL | ( | void | ) |
Get CNTP_CTL register.
This function returns the value of the PL1 Physical Timer Control Register. (CNTP_CTL).
__STATIC_FORCEINLINE void __set_CNTP_CTL | ( | uint32_t | value | ) |
Set CNTP_CTL.
This function assigns the given value to PL1 Physical Timer Control Register (CNTP_CTL).
[in] | value | CNTP_CTL Register value to set |
This function assigns the given value to PL1 Physical Timer Control Register (CNTP_CTL).