Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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

List of 4 messages in thread
TopicAuthorDate
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      

Back to Subject List