mc9rs08ka2 Freescale Semiconductor, Inc, mc9rs08ka2 Datasheet - Page 91

no-image

mc9rs08ka2

Manufacturer Part Number
mc9rs08ka2
Description
Rs08 Microcontrollers 8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9rs08ka2CDB
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9rs08ka2CDB
Quantity:
4 900
Part Number:
mc9rs08ka2CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9rs08ka2CSC
Manufacturer:
FREESCAE
Quantity:
20 000
11.3.2
MTIMCLK contains the clock select bits (CLKS) and the prescaler select bits (PS).
11.3.3
MTIMCNT is the read-only value of the current MTIM count of the 8-bit counter.
Freescale Semiconductor
CLKS
Field
5:4
3:0
PS
Reset:
Reset:
W
W
R
R
MTIM Clock Configuration Register (MTIMCLK)
MTIM Counter Register (MTIMCNT)
Clock Source Select — These two read/write bits select one of four different clock sources as the input to the
MTIM prescaler. Changing the clock source while the counter is active does not clear the counter. The count
continues with the new clock source. Reset clears CLKS to 00.
00
01
10
11
Clock Source Prescaler — These four read/write bits select one of nine outputs from the 8-bit prescaler.
Changing the prescaler value while the counter is active does not clear the counter. The count continues with the
new prescaler value. Reset clears PS to 0000.
0000 Encoding 0 — MTIM clock source
0001 Encoding 1 — MTIM clock source
0010 Encoding 2 — MTIM clock source
0011 Encoding 3 — MTIM clock source
0100 Encoding 4 — MTIM clock source
0101 Encoding 5 — MTIM clock source
0110 Encoding 6 — MTIM clock source
0111 Encoding 7 — MTIM clock source
1000 Encoding 8 — MTIM clock source
All other encodings default to MTIM clock source
Encoding 0 — Bus clock (BUSCLK).
Encoding 1 — Fixed-frequency clock (XCLK).
Encoding 3 — External source (TCLK pin), falling edge.
Encoding 4 — External source (TCLK pin), rising edge.
7
0
0
7
0
Figure 11-4. MTIM Clock Configuration Register (MTIMCLK)
Figure 11-5. MTIM Counter Register (MTIMCNT)
0
0
0
6
6
Table 11-4. MTIMCLK Field Description
MC9RS08KA2 Series Data Sheet, Rev. 3
0
0
5
5
CLKS
1.
2.
4.
8.
16.
32.
64.
128.
256.
0
0
4
4
Description
COUNT
256.
0
0
3
3
Chapter 11 Modulo Timer (RS08MTIMV1)
0
0
2
2
PS
0
0
1
1
0
0
0
0
91

Related parts for mc9rs08ka2