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

DMC73C168 参数 Datasheet PDF下载

DMC73C168图片预览
型号: DMC73C168
PDF下载: 下载PDF文件 查看货源
内容描述: 8BIT单片机 [8Bit Single Chip Microcontroller]
分类和应用: 微控制器
文件页数/大小: 82 页 / 744 K
品牌: DAEWOO [ DAEWOO Electronic Components ]
 浏览型号DMC73C168的Datasheet PDF文件第32页浏览型号DMC73C168的Datasheet PDF文件第33页浏览型号DMC73C168的Datasheet PDF文件第34页浏览型号DMC73C168的Datasheet PDF文件第35页浏览型号DMC73C168的Datasheet PDF文件第37页浏览型号DMC73C168的Datasheet PDF文件第38页浏览型号DMC73C168的Datasheet PDF文件第39页浏览型号DMC73C168的Datasheet PDF文件第40页  
36  
8Bit Single Chip Microcontroller  
DMC73C168  
5.2 Device Initialization  
Interrupt level 0 (RESET) cannot be masked and will be recognized immediately even in the middle of  
instruction. To execute the level 0 interrupt, the RESET pin must be held low for minimum of 5 internal  
clock cycles to guarantee recognition by the device. During assertion of the RESET pin, the following  
operations are performed prior to the first instruction acquisition.  
1) All zeros are written to the IOCTL0 Register and Status Register. And zero is written to the  
IOCTL1, and IOCTL2. This disables all interrupt and clears all interrupt flags.  
2) The initialize data are written to the Peripheral Registers. And all zeros are written to the  
APSLCT, ADDR, BDDR, CDDR, DDDR, EDDR, FDDR, GDDR and HDDR.  
3) The MSB and LSB values of the Program Counter Just before RESET are stored in R0 and  
R1 (A and B Register) respectively.  
4) The Stack Pointer is initialized to >01.  
5) The MSB and LSB of the Reset Vector are fetched location >FFFE and >FFFF respectively  
(see Table 4-8) and loaded into the Program Counter.  
6) Program execute begins from the address placed in the Program Counter.  
5.3 I/O Control Register  
The I/O control register are located in the Peripheral File and are responsible for interrupt control.  
The DMC73C168 contains the I/O Control 0 (IOCTL0), I/O Control 1 (IOCTL1), I/O Control 2 (IOCTL2).  
The I/O control register are mapped into locations P0 (IOCTL0), P1 (IOCTL1), P2 (IOCTL2) of the  
Peripheral File as shown in Figure 5-3A, 5-3B and 5-3C. The individual interrupt mask and resets are  
controlled through these registers. The interrupt sources may also be individually tested by reading the  
interrupt flags. The interrupt flag values are independent of the interrupt enable values. The INTn FLAG  
values are independent of the INTn ENABLE values. Writing a '1' to the INTn CLEAR bit will clear the  
corresponding INTn FLAG, but writing a '0' to the INTn CLEAR bit has no effect on the bit. If INTn is to  
be recognized by the CPU, three conditions must be met as follow.  
1) A one must be written to the INTn ENABLE BIT IN THE IOCTL0, IOCTL1 or IOCTL2  
Register.  
2) The global INTERRUPT ENABLE bit, IE., bit4 in the Status Register, must be set to one  
by the EINT instruction.  
3) INTn must be the highest priority interrupt asserted within an instruction boundary.  
Setting '1' to both INTnFLAG and INTnENABLE bit clears the INTnFLAG first, and then sets '1' to  
INTnENABLE bit.  
£Ä£Á£Å£×£Ï £Ï  
DAEWOO ELECTRONICS CO., LTD.  
 复制成功!