欢迎访问ic37.com |
会员登录 免费注册
发布采购

W77C032A40DL 参数 Datasheet PDF下载

W77C032A40DL图片预览
型号: W77C032A40DL
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICROCONTROLLER]
分类和应用: 微控制器
文件页数/大小: 78 页 / 547 K
品牌: WINBOND [ WINBOND ]
 浏览型号W77C032A40DL的Datasheet PDF文件第19页浏览型号W77C032A40DL的Datasheet PDF文件第20页浏览型号W77C032A40DL的Datasheet PDF文件第21页浏览型号W77C032A40DL的Datasheet PDF文件第22页浏览型号W77C032A40DL的Datasheet PDF文件第24页浏览型号W77C032A40DL的Datasheet PDF文件第25页浏览型号W77C032A40DL的Datasheet PDF文件第26页浏览型号W77C032A40DL的Datasheet PDF文件第27页  
W77C32/W77C032A
Timer 2 overflow flag: This bit is set when Timer 2 overflows. It is also set when the count
is equal to the capture register in down count mode. It can be set only if RCLK and TCLK
are both 0. It is cleared only by software. Software can also set or clear this bit.
EXF2:
Timer 2 External Flag: A negative transition on the T2EX pin (P1.1) or timer 2 overflow
will cause this flag to set based on the CP/RL2, EXEN2 and DCEN bits. If set by a
negative transition, this flag must be cleared by software. Setting this bit in software or
detection of a negative transition on T2EX pin will force a timer interrupt if enabled.
RCLK:
Receive Clock Flag: This bit determines the serial port 0 time-base when receiving data
in serial modes 1 or 3. If it is 0, then timer 1 overflow is used for baud rate generation,
otherwise timer 2 overflow is used. Setting this bit forces timer 2 in baud rate generator
mode.
TCLK:
Transmit Clock Flag: This bit determines the serial port 0 time-base when transmitting
data in modes 1 and 3. If it is set to 0, the timer 1 overflow is used to generate the baud
rate clock, otherwise timer 2 overflow is used. Setting this bit forces timer 2 in baud rate
generator mode.
EXEN2:
Timer 2 External Enable. This bit enables the capture/reload function on the T2EX pin if
Timer 2 is not generating baud clocks for the serial port. If this bit is 0, then the T2EX pin
will be ignored, otherwise a negative transition detected on the T2EX pin will result in
capture or reload.
TR2:
Timer 2 Run Control. This bit enables/disables the operation of timer 2. Clearing this bit will
halt the timer 2 and preserve the current count in TH2, TL2.
C/
T2
:
Counter/Timer Select. This bit determines whether timer 2 will function as a timer or a
counter. Independent of this bit, the timer will run at 2 clocks per tick when used in baud rate
generator mode. If it is set to 0, then timer 2 operates as a timer at a speed depending on
T2M bit (CKCON.5), otherwise it will count negative edges on T2 pin.
TF2:
CP/
RL2
: Capture/Reload Select. This bit determines whether the capture or reload function will be
used for timer 2. If either RCLK or TCLK is set, this bit will be ignored and the timer will
function in an auto-reload mode following each overflow. If the bit is 0 then auto-reload will
occur when timer 2 overflows or a falling edge is detected on T2EX pin if EXEN2 = 1.
If this bit is 1, then timer 2 captures will occur when a falling edge is detected on T2EX pin if
EXEN2 = 1.
7.2 Timer 2 Mode Control
Bit:
7
HC5
Mnemonic: T2MOD
HC5:
HC4:
HC3:
HC3:
6
HC4
5
HC3
4
HC2
3
T2CR
2
-
1
T2OE
0
DCEN
Address: C9h
Hardware Clear
INT5
flag. Setting this bit allows the flag of external interrupt 5 to be
automatically cleared by hardware while entering the interrupt service routine.
Hardware Clear INT4 flag. Setting this bit allows the flag of external interrupt 4 to be
automatically cleared by hardware while entering the interrupt service routine.
Hardware Clear
INT3
flag. Setting this bit allows the flag of external interrupt 3 to be
automatically cleared by hardware while entering the interrupt service routine.
Hardware Clear INT2 flag. Setting this bit allows the flag of external interrupt 3 to be
automatically cleared by hardware while entering the interrupt service routine.
Publication Release Date: February 1, 2007
Revision A8
- 23 -