参数资料
型号: JA32050
厂商: Electronic Theatre Controls, Inc.
英文描述: 8-Bit MCU,ADC,LCD Controller
中文描述: 8位微控制器,ADC和LCD控制器
文件页数: 8/19页
文件大小: 305K
代理商: JA32050
!
JA32050
Timers and WDT
The JA32050 contains two16-bit timers (TMR0, TMR1) and one watchdog timer (WDT). The registers related
to timers are TMR (timer content) and TMRC (timer control).
TMR0 (05h,06h) & TMR0C (07h)
The TMR0 is a 16-bit count-up counter. The clock source may come from system clock (Fsys/4),
internal RC clock, external pulse input (SC) or external 32k crystal. The default value of the control
register TMR0C is 00. The definition of TMR0C is listed as following:
Labels
TON0 (TMR0)
Bits
0
Function
Timer0 enable/disable definition bit
0 = Disable; 1 = Enable
Timer clock rate selection bits (prescale)
Reserved
TS2, TS1, TS0
3 - 1
4
TMR/WDT
5
To assign pre-scale counter to Timer0 or WDT
0: Timer
1: WDT
To define the operation mode
00= Timer mode (system clock/4)
01= Timer mode (internal RC clock)
10= Event count mode from external SC pin
11= Timer mode (32.768k Hz crystal)
TM1, TM0
7, 6
Both TMR0 and WDT share with an 8-bit prescaler. If the prescaler is assigned to TMR0, the WDT clock will
be 1:1 to the clock source (no prescale function), vice versa. The ratio table is shown below:
TS2
0
0
0
0
1
1
1
1
TS1
0
0
1
1
0
0
1
1
TS0
0
1
0
1
0
1
0
1
TMR Rate
1:2
1:4
1:8
1:16
1:32
1:64
1:128
1:256
WDT Rate
1:1
1:2
1:4
1:8
1:16
1:32
1:64
1:128
TMR1 (08h, 09h) & TMR1C (0Ah)
The TMR01is a 16-bit count-up counter. The clock source may come from system clock, internal RC
clock, external pulse input or external 32k crystal. The default value of the control register TMR1C is 00.
The definition of TMR0C is listed as following:
Labels
Bits
TON1
0
Timer1 enable/disable definition bit
0 = Disable; 1 = Enable
TS2, TS1, TS0
3 - 1
Timer clock source selection bits
4
Reserved
Function
TMROUT
5
This bit has to be set to “0”; SC is configured as input pin.
TM1, TM0
7, 6
To define the operation mode
00= Timer mode (system clock/4)
01= Timer mode (internal RC clock)
10= Event count mode from External SC pin
11= Timer mode (32.768k crystal)
There is an 8-bit prescaler dedicated to TMR1. The ratio table is shown below:
Preliminary
TEL
Κ
886-3-5770755 FAX
Κ
886-3-5770756 E-mail
Κ
sales@jaztek.com.tw Web-site
Κ
www.jaztek.com.tw
19-8
Ver.0.0
相关PDF资料
PDF描述
JA58560 Mask-ROM 8-Bit CMOS Micro-controller
JA58560N Mask-ROM 8-Bit CMOS Micro-controller
JA58560P Mask-ROM 8-Bit CMOS Micro-controller
JC201DN AC Solid State Relay
JC201 AC Solid State Relay
相关代理商/技术参数
参数描述
JA33331-H11P-4F 制造商:Foxconn 功能描述:Triple Audio Jack, 3.5mm Diameter, Right Angle, Trough Hole,
JA33331-H21P-4F 制造商:Foxconn 功能描述:3 Position 3.5mm Right Angle Audio Jacks
JA33331-H23P-4F 制造商:Foxconn 功能描述:3 Position 3.5mm Right Angle Audio Jacks
JA33331-HA1P-4F 制造商:Foxconn 功能描述:13 Position 3.5mm Diameter Right Angle Triple Audio Jack
JA3333L-D21P-4F 制造商:Foxconn 功能描述:JA Series 13 Position 3.5mm Right Angle Through-Hole Triple Jack Audio Plug