Rev. 1.60
148
August 20, 2019
Rev. 1.60
149
August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
• TSC0 Register
Bit
7
6
5
4
3
2
1
0
Name
BGMEN
G5XEN K_REFO
—
—
—
—
—
R/W
R/W
R/W
R/W
—
—
—
—
—
POR
0
1
0
—
—
—
—
—
Bit 7
BGMEN
: Temperature sensor reference voltage output function enable control
0: Disable
1: Enable
This bit controls the internal temperature sensor reference voltage output function
and is only available when the TSE bit is set to 1. The internal temperature sensor
reference voltage can be converted when the TSE and BGMEN bits are set to 1 and
the ACS bit field is set to "1xxx". However, the internal temperature sensor output
voltage will be converted if the TSE bit is set to 1 and the BGMEN bit is cleared to 0
together with ACS bit field equal to "1xxx".
Bit 6
G5XEN
: OPA2 gain select
0: Gain=4
1: Gain=5
This bit controls the OPA2 gain selection. This bit should be properly selected for
different temperature range applications to avoid the saturated code.
Bit 5
K_REFO
: OPA1 gain select
0: Gain=1.675
1: Gain=1
This bit is used to select the OPA1 gain to determine the temperature sensor reference
voltage output value.
Bit 4~0
Unimplemented, read as "0"
• TSC1 Register
Bit
7
6
5
4
3
2
1
0
Name
TSE
OP2EN
OP1EN
—
—
—
—
—
R/W
R/W
R/W
R/W
—
—
—
—
—
POR
0
0
0
—
—
—
—
—
Bit 7
TSE
: Temperature sensor circuitry enable control
0: Disable
1: Enable
This bit controls the internal temperature sensor circuitry. When the temperature sensor
is enabled by setting the TSE bit to 1, a time named as t
TSS
should be allowed for the
temperature sensor circuit to stabilise before implementing relevant temperature sensor
operation.
Bit 6
OP2EN
: Temperature sensor OPA2 enable control
0: Disable
1: Enable
Bit 5
OP1EN
: Temperature sensor OPA1 enable control
0: Disable
1: Enable
Bit 4~0
Unimplemented, read as "0"