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

71M6531D 参数 Datasheet PDF下载

71M6531D图片预览
型号: 71M6531D
PDF下载: 下载PDF文件 查看货源
内容描述: 电能计量IC [Energy Meter IC]
分类和应用:
文件页数/大小: 115 页 / 2363 K
品牌: TERIDIAN [ TERIDIAN SEMICONDUCTOR CORPORATION ]
 浏览型号71M6531D的Datasheet PDF文件第26页浏览型号71M6531D的Datasheet PDF文件第27页浏览型号71M6531D的Datasheet PDF文件第28页浏览型号71M6531D的Datasheet PDF文件第29页浏览型号71M6531D的Datasheet PDF文件第31页浏览型号71M6531D的Datasheet PDF文件第32页浏览型号71M6531D的Datasheet PDF文件第33页浏览型号71M6531D的Datasheet PDF文件第34页  
Data Sheet 71M6531D/F-71M6532D/F  
FDS 6531/6532 005  
Table 22: TMOD Register Bit Description (SFR 0x89)  
Symbol Function  
Timer/Counter 1:  
Bit  
If set, enables external gate control (pin INT1). When INT1 is high and  
the TR1 bit is set (see the TCON register), a counter is incremented every  
falling edge on T1 input pin  
TMOD[7]  
Gate  
Selects timer or counter operation. When set to 1, a counter operation is  
performed. When cleared to 0, the corresponding register will function as a  
timer.  
TMOD[6]  
C/T  
Selects the mode for Timer/Counter 0 as shown in Table 20.  
TMOD[5:4] M1:M0  
Timer/Counter 0:  
If set, enables external gate control (pin INT0). When INT0 is high and  
the TR0 bit is set (see the TCON register), a counter is incremented every  
falling edge on T0 input pin.  
TMOD[3]  
Gate  
Selects timer or counter operation. When set to 1, a counter operation is  
performed. When cleared to 0, the corresponding register will function as  
a timer.  
TMOD[2]  
C/T  
TMOD[1:0] M1:M0  
Selects the mode for Timer/Counter 1, as shown in Table 20.  
Table 23: The TCON Register Bit Functions (SFR 0x88)  
Bit  
Symbol  
Function  
TCON[7]  
TF1  
The Timer 1 overflow flag is set by hardware when Timer 1 overflows.  
This flag can be cleared by software and is automatically cleared when  
an interrupt is processed.  
TCON[6]  
TCON[5]  
TR1  
TF0  
Timer 1 run control bit. If cleared, Timer 1 stops.  
Timer 0 overflow flag set by hardware when Timer 0 overflows. This  
flag can be cleared by software and is automatically cleared when an  
interrupt is processed.  
TCON[4]  
TCON[3]  
TR0  
IE1  
Timer 0 Run control bit. If cleared, Timer 0 stops.  
Interrupt 1 edge flag is set by hardware when the falling edge on exter-  
nal pin int1 is observed. Cleared when an interrupt is processed.  
TCON[2]  
TCON[1]  
TCON[0]  
IT1  
IE0  
IT0  
Interrupt 1 type control bit. Selects either the falling edge or low level  
on input pin to cause an interrupt.  
Interrupt 0 edge flag is set by hardware when the falling edge on exter-  
nal pin int0 is observed. Cleared when an interrupt is processed.  
Interrupt 0 type control bit. Selects either the falling edge or low level  
on input pin to cause interrupt.  
1.4.8 WD Timer (Software Watchdog Timer)  
There is no internal software watchdog timer. Use the standard watchdog timer instead (see 1.5.16  
Hardware Watchdog Timer).  
1.4.9 Interrupts  
The 80515 MPU provides 11 interrupt sources with four priority levels. Each source has its own request  
flag(s) located in a special function register (TCON, IRCON and SCON). Each interrupt requested by the  
corresponding flag can be individually enabled or disabled by the enable bits in SFRs IEN0, IEN1 and  
IEN2. Figure 8 shows the device interrupt structure.  
30  
© 2005-2009 TERIDIAN Semiconductor Corporation  
v1.2