| ??? 05/01/01 21:01 Read: times |
#11260 - RE: Serial Interrupts |
you may use these values. The instructions are in assembly language. translate them to C51 accordingly.
MOV SCON, #50H ;INITIALIZATION MOV TMOD, #20H ;Initialize Timer MOV TH1,#-13 ;load Timer for 2400 baud rate using 12MHz Crystal SETB TR1 ;start Timer CLR TI ;Clear interrupts CLR RI MOV IE, #90H ;Enable Serial Port Interrupt SETB PS ;Give High Priority to serial port interrupt |
| Topic | Author | Date |
| Serial Interrupts | 01/01/70 00:00 | |
| RE: Serial Interrupts | 01/01/70 00:00 | |
| RE: Serial Interrupts | 01/01/70 00:00 | |
RE: Serial Interrupts | 01/01/70 00:00 |



