RTC Compare Register – RTCCMP. Holtek HT32F5828

Add to My manuals
637 Pages

advertisement

RTC Compare Register – RTCCMP. Holtek HT32F5828 | Manualzz

32-Bit Arm ®

HT32F5828

Cortex ® -M0+ MCU

RTC Compare Register – RTCCMP

This register defines a specific value to be compared with the RTC counter value.

Address: 0x004

Reset value: 0x0000_0000 (Reset by V

DD

Power Domain reset only)

31 30 29 28 27

Reserved

26 25 24

Type/Reset

23 22 21 20 19

RTCCMPV

18 17 16

Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0

15 14 13 12 11

RTCCMPV

10 9 8

Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0

7 6 5 4 3 2 1 0

RTCCMPV

Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0

Bits

[23:0]

Field Descriptions

RTCCMPV RTC Compare Match Value

A match condition happens when the value in the RTCCNT register is equal to the

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.

Rev. 1.00 567 of 637 December 28, 2020

advertisement

Related manuals

advertisement

Table of contents