Rtc Compare Register - Rtccmp - Holtek HT32F52342 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52342/HT32F52352
RTC Compare Register – RTCCMP
This register defines a specific value to be compared with the RTC counter value.
Offset:
0x004
Reset value: 0x0000_0000 (Reset by Backup Domain reset only)
31
Type/Reset
RW
0 RW
23
Type/Reset
RW
0 RW
15
Type/Reset
RW
0 RW
7
Type/Reset
RW
0 RW
Bits
Field
[31:0]
RTCCMPV
Rev. 1.30
30
29
28
0 RW
0 RW
22
21
20
0 RW
0 RW
14
13
12
0 RW
0 RW
6
5
4
0 RW
0 RW
Descriptions
RTC Compare Match Value
A match condition happens when the value in the RTCCNT register is equal to
RTCCMP value. An interrupt can be generated if the CMIEN bit in the RTCIWEN
register is set. When the CMPCLR bit in the RTCCR register is set to 0 and a match
condition happens, the CMFLAG bit in the RTCSR register is set while the value in
the RTCCNT register is not affected and will continue to count until overflow. When
the CMPCLR bit is set to 1 and a match condition happens, the CMFLAG bit in the
RTCSR register is set and the RTCCNT register will be reset to zero and then the
counter continues to count.
432 of 656
27
26
RTCCMPV
0 RW
0 RW
0 RW
19
18
RTCCMPV
0 RW
0 RW
0 RW
11
10
RTCCMPV
0 RW
0 RW
0 RW
3
2
RTCCMPV
0 RW
0 RW
0 RW
25
24
0 RW
0
17
16
0 RW
0
9
8
0 RW
0
1
0
0 RW
0
September 28, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ht32f52352

Table of Contents