EasyManuals Logo

ST STM32G471 User Manual

ST STM32G471
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #990 background imageLoading...
Page #990 background image
High-resolution timer (HRTIM) RM0440
990/2126 RM0440 Rev 4
27.5.24 HRTIM timer x capture 1 register (HRTIM_CPT1xR) (x = A to F)
Address offset: Block A: 0x0B0
Address offset: Block B: 0x130
Address offset: Block C: 0x1B0
Address offset: Block D: 0x230
Address offset: Block E: 0x2B0
Address offset: Block F: 0x330
Reset value: 0x0000 0000
Note: In up/down mode (UDM bit set to 1), the capture value is referred to:
- counting reset, when up-counting
- the PER event when down counting
The DIR bit allows to discriminate the up-down phases when reading the captured value.
Note: This is a regular resolution register: for HR clock prescaling ratio below 32
(CKPSC[2:0] < 5), the least significant bits of the counter are not significant. They cannot be
written and return 0 when read.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. DIR
r
1514131211109876543210
CPT1x[15:0]
rrrrrrrrrrrrrrrr
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 DIR: Timer x capture 1 direction status
This register holds the counting direction value when the capture 1 event occurred:
0: timer is up-counting
1: timer is down-counting
In up-counting mode (UDM bit reset), the DIR bit is always read as 0.
Bits 15:0 CPT1x[15:0]: Timer x capture 1 value
This register holds the counter value when the capture 1 event occurred.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G471 and is the answer not in the manual?

ST STM32G471 Specifications

General IconGeneral
BrandST
ModelSTM32G471
CategoryMicrocontrollers
LanguageEnglish

Related product manuals