st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 57

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Table 13.
3:2 TB[1:0]
Bit Name
1
0
OIE
OIF
MCCSR register description (continued)
Time base control
Oscillator interrupt enable
Oscillator interrupt flag
These bits select the programmable divider time base. They are set and cleared by
software:
00: Time base (counter prescaler 16000) = 4 ms (f
01: Time base (counter prescaler 32000) = 8 ms (f
10: Time base (counter prescaler 80000) = 20 ms (f
11: Time base (counter prescaler 200000) = 50 ms (f
A modification of the time base is taken into account at the end of the current period
(previously set) to avoid an unwanted time shift. This allows this time base to be
used as a real time clock.
This bit set and cleared by software.
0: Oscillator interrupt disabled
1: Oscillator interrupt enabled
This interrupt can be used to exit from Active Halt mode. When this bit is set, calling
the ST7 software HALT instruction enters the Active HALT power saving mode
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.
and 2 ms (f
and 4 ms (f
and 10 ms (f
and 25 ms (f
OSC2
OSC2
OSC2
OSC2
= 8 MHz)
= 8 MHz)
= 8 MHz)
= 8 MHz)
Function
OSC2
OSC2
OSC2
OSC2
= 4 MHz)
= 4 MHz)
Supply, reset and clock
= 4 MHz)
= 4 MHz)
.
57/371

Related parts for st7pmc2s6