01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DX<br />

Port number: 0 for EXT, 1 for COM<br />

Return Value<br />

Top of list<br />

Index page<br />

AL: The byte received<br />

Interrupt 0x14 service 0x03: Status request<br />

Parameters<br />

AH<br />

DX<br />

Return the status of the serial port.<br />

0x03<br />

Port number: 0 for EXT, 1 for COM<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

AH: Status code (bit field):<br />

bit 6: Set if output buffer is empty.<br />

bit 5: Set if output buffer is not full.<br />

bit 4: Line break detected<br />

bit 3: Framing error detected<br />

bit 2: Parity error detected<br />

bit 1: Set if overrun occurred on receiver.<br />

bit 0: Set if data is available in receiver buffer.<br />

Any reported UART error flags are cleared by hardware after the read is made for this call.<br />

Interrupt 0x14 service 0x04: Initialize fossil driver<br />

Parameters<br />

AH<br />

DX<br />

Initialize the fossil driver for specified port.<br />

0x04<br />

Port specifier: 0 for EXT, 1 for COM<br />

Page 329 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!