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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Top of list<br />

Index page<br />

Interrupt 0x14 service 0x85: Enable/disable UART transmitter<br />

Parameters<br />

AH<br />

AL<br />

DX<br />

Enable/Disable UART transmitter<br />

0x85<br />

0: disable transmitter 1: enable transmitter<br />

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

Return Value<br />

none<br />

Comments<br />

Top of list<br />

Index page<br />

By default the transmitter is enabled.<br />

Interrupt 0x14 service 0xA0: Get number of Tx bytes in UART<br />

Parameters<br />

AH<br />

DX<br />

Returns the number of bytes which are currently in the UART transmitter hardware.<br />

0xA0<br />

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

Return Value<br />

Comments<br />

AX= Number of bytes in the UART transmitter hardware<br />

With this function you can check how many bytes are currently in the UART. This could be necessary to<br />

know if your communication pauses because of a handshake problem.<br />

The GetDriverInfo API (0x1B) reports the number of bytes remaining in the serial port driver's software<br />

Page 340 / 400

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

Saved successfully!

Ooh no, something went wrong!