Comparator Voltage Reference Value Register n – CVRVALRn, n = 0 or. Holtek HT32F5828

Add to My manuals
637 Pages

advertisement

Comparator Voltage Reference Value Register n – CVRVALRn, n = 0 or. Holtek HT32F5828 | Manualzz

32-Bit Arm ®

HT32F5828

Cortex ® -M0+ MCU

Comparator Voltage Reference Value Register n – CVRVALRn, n = 0 or 1

The register is used to set the comparator voltage reference level.

Offset: 0x004 (n = 0), 0x104 (n = 1)

Reset value: 0x0000_0000

31 30 29 28 27

Reserved

26 25 24

Type/Reset

23 22 21 20 19

Reserved

18 17 16

Type/Reset

15 14 13 12 11

Reserved

10 9 8

Type/Reset

7 6 5 4 3

CVRVAL

2 1 0

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

Bits

[7:0]

Field

CVRVAL

Descriptions

Comparator Voltage Reference Value

There are 256 levels of the comparator voltage reference, which is set using the

CVRVAL bits. The relationship between the CVRVAL field value and the CVR output,

V

V

CVR

CVR

, is given by the following equation:

= CVRVAL × (V

RP

- V

SSA

) / 255, where V

RP

can come from the V

DDA

or V

REF

.

Rev. 1.00 394 of 637 December 28, 2020

advertisement

Related manuals

advertisement

Table of contents