mpc235 Megawin Technology, mpc235 Datasheet - Page 16

no-image

mpc235

Manufacturer Part Number
mpc235
Description
Low-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mpc2355100AE2
Manufacturer:
MEGAWIN
Quantity:
20 000
Timer
Timer 0
STC: Timer clock disable/enable. 0: disable timer clock, 1: enable timer clock
RL/S: Auto-reload disable/enable. 0: enable auto-reload, 1: disable auto-reload
Timer 0 is a dual function 8-bit counter. When timer 0 is under user’s firmware control, it will pre-load
value to counter at the rising edge of TM0_CTL.STC and its underflow frequency of timer 0 can be
calculated with the following equation:
For example: if F
Writing data to the TM0 would write data to the reload buffer of the timer 0. Reading data from the TM0
would read the run-time value from the counter.
16
Address
00C5H
00C6H
TKI2
TM1
FFH
00H
01H
02H
0
0
0
0
1
1
1
1
F
TM0_UV
TM0_CTL
Name
TM0CK
TM0
TKI1
0
0
1
1
0
0
1
1
F
= F
TM0_UV
= F
TM0CK
93.75 KHz
732.42 Hz
62.5 KHz
OSC
invalid
Frequency
/ 32 (187.5 KHz)
Bit 7
T7
/ (TM0+1)
-
TKI0
0
1
0
1
0
1
0
1
MPC235 Technical Summary
Bit 6
STC
T6
Selected TM0 input clock source
RL/S
Bit 5
T5
F
F
F
F
F
F
F
F
where F
OSC
OSC
OSC
OSC
OSC
OSC
OSC
OSC
Bit 4
/ 8
/ 16
/ 32
/ 64
/ 128
/ 256
/ 512
/ 1024
T4
-
TM0CK
Bit 3
T3
is selected by TM0_CTL.TKI2/11/10
-
TKI2
Bit 2
T2
TKI1
Bit 1
T1
MEGAWIN
TKI0
Bit 0
T0
R
W

Related parts for mpc235