| Electronic Components Datasheet Search |
|
DS80C400 Datasheet(PDF) 87 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS80C400 Datasheet(HTML) 87 Page - Dallas Semiconductor |
|
87 / 97 page ![]() DS80C400 Network Microcontroller 87 of 97 Table 24. 1-Wire Bus Master Interrupt Sources INTERRUPT SOURCE MEANING ENABLE/FLAG LOCATION (Interrupt Flag Register.x Interrupt Enable Register.x) Presence Detect After a 1-Wire reset has been issued, this flag is set after the amount of time for a presence-detect pulse to have occurred. This bit is cleared when the interrupt flag register is read. Bit 0 Transmit Buffer Empty This flag is set when the transmit buffer is empty and ready to receive the next byte. This bit is cleared when data is written to the transmit buffer. A read of the interrupt flag register has no effect on this bit. Bit 2 Transmit Shift Register Empty This flag is set when the transmit shift register is empty and is ready to load a new byte from the transmit buffer. This bit is cleared when data is transferred from the transmit buffer to the transmit shift register. A read of the interrupt flag register has no effect on this bit. Bit 3 Receive Buffer Full This flag is set when there is a byte of data in the receive buffer waiting to be read. This bit is cleared when the receive buffer is read. Bit 4 Receive Shift Register Full This flag is set when there is a byte of data in the receive shift register waiting to be transferred to the receive buffer. This bit is cleared when data in the receive shift register is transferred to the receive buffer. Bit 5 1-Wire Short This flag is set when the OW line was low before the bus master was able to send out the beginning of a reset or a time slot. A read of the interrupt flag register clears this bit. Bit 6 1-Wire Low This flag is set when the OW line is low while the bus master is idle, signaling that a slave device has issued a presence pulse on the OW line. A read of the interrupt flag register clears this bit if the OW line is no longer low while the master is idle. Bit 7 Peripheral Overview (Primary Integrated System Logic) The DS80C400 provides several of the most commonly needed peripheral functions in microcomputer-based systems. The DS80C400 offers three serial ports, four timers, a programmable watchdog timer, power-fail reset detection, and a power-fail interrupt flag. In addition, the microcontroller contains a CAN module for industrial communication applications. Each of these peripherals is described below, and more details are available in the High-Speed Microcontroller User’s Guide and the High-Speed Microcontroller User’s Guide: Network Microcontroller Supplement . Serial Ports The microcontroller provides a serial port (UART) that is identical to the 80C52. Two additional hardware serial ports are provided that are duplicates of the first one. This second port optionally uses pins P1.2 (RXD1) and P1.3 (TXD1). The third port optionally uses pins P6.6 (RXD2) and P6.7 (TXD2). The function of each of the three serial ports is controlled by the SFRs and bits shown in Table 25. Table 25. Serial Port SFRs SERIAL PORT FUNCTION CONTROL SERIAL PORT 0 SERIAL PORT 1 SERIAL PORT 2 Control Register SCON0 SCON1 SCON2 Input/Output Data Buffer SBUF0 SBUF1 SBUF2 Baud Rate Doubler Bit PCON.7 WDCON.7 T3CM.4 Framing Error-Detection Enable PCON.6 PCON.6 PCON.6 Slave Address Mask Enable SADEN0 SADEN1 SADEN2 Slave Address SADDR0 SADDR1 SADDR2 All three serial ports can operate simultaneously and be configured for different baud rates or different modes. When using a timer for the purpose of baud rate generation, serial port 1 must use timer 1, serial port 2 must use timer 3, while serial port 0 can use either timer 1 or timer 2. Refer to the High-Speed Microcontroller User Guide for full descriptions of serial port operational modes. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |