From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/Core_A/html/group__PL1__timer__functions.html | 339 +++++++++++++++++++++ 1 file changed, 339 insertions(+) create mode 100644 docs/Core_A/html/group__PL1__timer__functions.html (limited to 'docs/Core_A/html/group__PL1__timer__functions.html') diff --git a/docs/Core_A/html/group__PL1__timer__functions.html b/docs/Core_A/html/group__PL1__timer__functions.html new file mode 100644 index 0000000..946be94 --- /dev/null +++ b/docs/Core_A/html/group__PL1__timer__functions.html @@ -0,0 +1,339 @@ + + + + + +Generic Physical Timer Functions +CMSIS-Core (Cortex-A): Generic Physical Timer Functions + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-Core (Cortex-A) +  Version 1.1.2 +
+
CMSIS-Core support for Cortex-A processor-based devices
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Generic Physical Timer Functions
+
+
+ +

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

+ + + + + +

+Data Structures

union  CNTP_CTL_Type
 Physical Timer Control register. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

__STATIC_INLINE void PL1_SetCounterFrequency (uint32_t value)
 Configures the frequency the timer shall run at. More...
 
__STATIC_INLINE void PL1_SetLoadValue (uint32_t value)
 Sets the reset value of the timer. More...
 
__STATIC_INLINE uint32_t PL1_GetCurrentValue ()
 Get the current counter value. More...
 
__STATIC_INLINE uint64_t PL1_GetCurrentPhysicalValue (void)
 Get the current physical counter value. More...
 
__STATIC_INLINE void PL1_SetPhysicalCompareValue (uint64_t value)
 Set the physical compare value. More...
 
__STATIC_INLINE uint64_t PL1_GetPhysicalCompareValue (void)
 Get the physical compare value. More...
 
__STATIC_INLINE void PL1_SetControl (uint32_t value)
 Configure the timer by setting the control value. More...
 
__STATIC_INLINE uint32_t PL1_GetControl ()
 Get the control value. More...
 
+

Description

+

Function Documentation

+ +
+
+ + + + + + + + +
__STATIC_INLINE uint32_t PL1_GetControl (void )
+
+

Get the timer control value.

+
Returns
CNTP_CTL_Type Timer control value.
+
+Control value.
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE uint64_t PL1_GetCurrentPhysicalValue (void )
+
+
Returns
Current physical counter value.
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE uint32_t PL1_GetCurrentValue (void )
+
+

Get the current counter value.

+
Returns
Current counter value.
+
+Current counter value.
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE uint64_t PL1_GetPhysicalCompareValue (void )
+
+
Returns
Physical compare value.
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE void PL1_SetControl (uint32_t value)
+
+

Configure the timer by setting the control value.

+
Parameters
+ + + +
valueNew timer control value.
[in]valueNew timer control value.
+
+
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE void PL1_SetCounterFrequency (uint32_t value)
+
+

Configures the frequency the timer shall run at.

+
Parameters
+ + + +
valueThe timer frequency in Hz.
[in]valueThe timer frequency in Hz.
+
+
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE void PL1_SetLoadValue (uint32_t value)
+
+

Sets the reset value of the timer.

+
Parameters
+ + + +
valueThe value the timer is loaded with.
[in]valueThe value the timer is loaded with.
+
+
+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE void PL1_SetPhysicalCompareValue (uint64_t value)
+
+
Parameters
+ + +
[in]valueNew physical timer compare value.
+
+
+ +
+
+
+
+ + + + -- cgit