CMSIS-Core (Cortex-A)  
CMSIS-Core support for Cortex-A processor-based devices
 
Loading...
Searching...
No Matches
PL1 Physical Timer Control register (CNTP_CTL)

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.
 

Description

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.

Function Documentation

◆ __get_CNTP_CTL()

__STATIC_FORCEINLINE uint32_t __get_CNTP_CTL ( void  )

Get CNTP_CTL register.

Returns
CNTP_CTL Register value

This function returns the value of the PL1 Physical Timer Control Register. (CNTP_CTL).

◆ __set_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).

Parameters
[in]valueCNTP_CTL Register value to set

This function assigns the given value to PL1 Physical Timer Control Register (CNTP_CTL).