
APPENDIX B: EXTERNAL COMMUNICATIONS INTERFACE SPECIFICATION
LW250 PULSED Nd: YAG LASER
990-605 REV B: May, 1997
B-29
/* read a rs232c data */
rsin()
{
-
AH = 0x03;
/* function 03h */
geninterrupt(0x21);
-
AH = 0;
}
/* write a data to rs232c */
rsout(c)
char c;
{
-
AH = 0x04;
/* function 04h */
-
DL = c;
geninterrupt(0x21);
}