Rev. 1.10
132
November 04, 2019
Rev. 1.10
133
November 04, 2019
HT45F5Q-3
Battery Charger Flash MCU
HT45F5Q-3
Battery Charger Flash MCU
• SCOMC Register
Bit
7
6
5
4
3
2
1
0
Name
—
ISEL1
ISEL0
SCOMEN
—
—
—
—
R/W
—
R/W
R/W
R/W
—
—
—
—
POR
—
0
0
0
—
—
—
—
Bit 7
Unimplemented, read as “0”
Bit 6~5
ISEL1~ISEL0
: R type LCD bias current selection (@V
DD
=5V)
00: 2×100kΩ (1/2 Bias), I
BIAS
=25μA
01: 2×50kΩ (1/2 Bias), I
BIAS
=50μA
10: 2×25kΩ (1/2 Bias), I
BIAS
=100μA
11: 2×12.5kΩ (1/2 Bias), I
BIAS
=200μA
Bit 4
SCOMEN
: Software controlled LCD driver enable control
0: Disable
1: Enable
When SCOMEN is set, it will turn on the DC path of resistor to generate 1/2 V
DD
bias
voltage.
Bit 3~0
Unimplemented, read as “0”
Cyclic Redundancy Check – CRC
The Cyclic Redundancy Check, CRC, calculation unit is an error detection technique test algorithm
used to verify data transmission or storage data correctness. A CRC calculation takes a data stream
or a block of data as its input and generates a 16-bit output remainder. Ordinarily, a data stream is
suffixed by a CRC code and used as a checksum when being sent or stored. Therefore, the received
or restored data stream is calculated by the same generator polynomial as described in the following
section.
CCITT-16
POLY
CRCDL
CRCDH
POLY
CRC-16
POLY
CRCIN
CRC Block Diagram
CRC Registers
The CRC generator contains an 8-bit CRC data input register, CRCIN, and a CRC checksum
register pair, CRCDH and CRCDL. The CRCIN register is used to input new data and the CRCDH
and CRCDL registers are used to hold the previous CRC calculation result. A CRC control register,
CRCCR, is used to select which CRC generating polynomial is used.
Register
Name
Bit
7
6
5
4
3
2
1
0
CRCCR
—
—
—
—
—
—
—
POLY
CRCIN
D7
D6
D5
D4
D3
D2
D1
D0
CRCDL
D7
D6
D5
D4
D3
D2
D1
D0
CRCDH
D15
D14
D13
D12
D11
D10
D9
D8
CRC Register List