st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 38

no-image

st7fmc2s7t6

Manufacturer Part Number
st7fmc2s7t6
Description
8-bit Mcu With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, Five Timers, Spi, Linsci
Manufacturer
STMicroelectronics
Datasheet
ST7MC1/ST7MC2
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
38/308
1
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
consumption.
impedance analog inputs)
ance analog inputs)
BC1
7
0
LVDRF
0
0
1
1
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
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
BC0
OIF
BC0
0
0
0
0
x
0

Related parts for st7fmc2s7t6