ST7FMC1K2B3 STMICROELECTRONICS [STMicroelectronics], ST7FMC1K2B3 Datasheet - Page 39

no-image

ST7FMC1K2B3

Manufacturer Part Number
ST7FMC1K2B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
MAIN CLOCK CONTROLLER WITH REAL-TIME CLOCK (Cont’d)
Bit 0 = OIF Oscillator interrupt flag
This bit is set by hardware and cleared by software
reading the CSR register. It indicates when set
that the main oscillator has reached the selected
elapsed time (TB1:0).
0: Timeout not reached
1: Timeout reached
CAUTION: The BRES and BSET instructions
must not be used on the MCCSR register to avoid
unintentionally clearing the OIF bit.
Table 5. Main Clock Controller Register Map and Reset Values
Address
002Dh
(Hex.)
002Ch
0040h
0040h
SICSR, page0
Reset Value
SICSR, page1
Reset Value
MCCSR
Reset Value
MCCBCR
Reset Value
Register
Label
PAGE
PAGE
MCO
7
0
0
0
0
VDIE
CP1
6
0
0
0
0
VCOEN
CP0
VDF
5
0
0
0
0
MCC BEEP CONTROL REGISTER (MCCBCR)
Read/Write
Reset Value: 0000 0000 (00h)
Bit 7:4 = Reserved, must be kept cleared.
Bit 3 = ADSTS A/D Converter Sample Time
Stretch
This bit is set and cleared by software to enable or
disable the A/D Converter sample time stretch fea-
ture.
0: AD sample time stretch disabled (for standard
1 AD sample time stretch enabled (for high imped-
Bit 2 = ADCIE A/D Converter Interrupt Enable
This bit is set and cleared by software to enable or
disable the A/D Converter interrupt.
0: AD Interrupt disabled
1 AD Interrupt enabled
Bit 1:0 = BC[1:0] Beep control
These 2 bits select the PF1 pin beep capability.
The beep output signal is available in Active-halt
mode but has to be disabled to reduce the con-
sumption.
impedance analog inputs)
ance analog inputs)
BC1
7
0
0
0
1
1
LVDRF
LOCK
SMS
4
x
x
0
0
0
BC0
0
1
0
1
ADSTS
PLLEN
TB1
0
3
0
0
0
0
Beep mode with f
0
~500-Hz
~1-KHz
~2-KHz
ADCIE
ST7MC1xx/ST7MC2xx
CFIE
TB0
2
0
0
0
0
STS
AD-
Off
ADC
CKSEL
IE
CSSD
BC1
~50% duty cycle
OIE
1
0
0
0
0
OSC2
Beep signal
BC1
Output
=8MHz
WDGRF
39/309
BC0
OIF
BC0
0
x
0
0
0
0
1

Related parts for ST7FMC1K2B3