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 />

transmitter. (TxEnable)<br />

Note that RS485 is not available with serial send DMA!<br />

Interrupt 0x14 service 0x81: Extended line control initialization<br />

Parameters<br />

AH<br />

AL<br />

BH<br />

BL<br />

CX<br />

DX<br />

Extended line control initialization.<br />

0x81<br />

UART character data bits<br />

2: 7 bits<br />

3: 8 bits<br />

Parity<br />

0: no parity<br />

1: odd parity<br />

2: even parity<br />

3: mark parity (always 1)<br />

4: space parity (always 0)<br />

Stop bits<br />

0: 1 Stop bit<br />

1: 2 Stop bits (only available when no parity is selected)<br />

Baud rate divider<br />

(for maximum baud rate see HAL function 0x8A)<br />

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

Return Value<br />

none<br />

Comments<br />

Two stop bits are only available if no parity is set.<br />

Developer Notes<br />

Parity settings "Mark" and "Space", and two stop bits are not checked on received data by the @Chip (UART) or<br />

the API. This is due to these modes are not available in hardware. These modes are provided to communicate<br />

Page 337 / 400

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

Saved successfully!

Ooh no, something went wrong!