st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 99

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 38.
6:4 CC[2:0]
Bit
7
3
2
1
0
Name
EXCL
FCRL
TCE
OVF
OIE
ARTCSR register description
External clock
Counter clock control
Timer counter enable
Force counter reload
Overflow interrupt enable
Overflow flag
This bit is set and cleared by software. It selects the input clock for the 7-bit
prescaler.
0: CPU clock
1: External clock
These bits are set and cleared by software. They determine the prescaler division
ratio from f
000: Prescaler division ratio from f
001: Prescaler division ratio from f
010: Prescaler division ratio from f
011: Prescaler division ratio from f
100: Prescaler division ratio from f
101: Prescaler division ratio from f
110: Prescaler division ratio from f
111: Prescaler division ratio from f
This bit is set and cleared by software. It puts the timer in the lowest power
consumption mode.
0: Counter stopped (prescaler and counter frozen)
1: Counter running
This bit is write-only and any attempt to read it yields a logical zero. When set, it
causes the contents of ARTARR register to be loaded into the counter, and the
content of the prescaler register to be cleared in order to initialize the timer before
starting to count.
This bit is set and cleared by software. It allows to enable/disable the interrupt which
is generated when the OVF bit (bit 0) is set.
0: Overflow interrupt disable
1: Overflow interrupt enable
This bit is set by hardware and cleared by software reading the ARTCSR register. It
indicates the transition of the counter from FFh to the ARTARR value.
0: New transition not yet reached
1: Transition reached
and 8 MHz (with f
and 4 MHz (with f
and 2 MHz (with f
and 1 MHz (with f
and 500 kHz (with f
and 250 kHz (with f
and 125 kHz (with f
and 62.5 kHz (with f
INPUT
:
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
= 8 MHz)
= 8 MHz)
= 8 MHz)
= 8 MHz)
= 8 MHz)
= 8 MHz)
= 8 MHz)
= 8 MHz)
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
Function
= f
= f
= f
= f
= f
= f
= f
= f
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
/2 (f
/4 (f
/8 (f
/16 (f
/32 (f
/64 (f
/128 (f
(f
COUNTER
COUNTER
COUNTER
COUNTER
COUNTER
COUNTER
COUNTER
COUNTER
)
On-chip peripherals
)
)
)
)
)
)
)
99/371

Related parts for st7pmc2s6