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.

● Interrupt_0x14_function_0x04:_Initialize fossil driver<br />

● Interrupt_0x14_function_0x05:_Deinitialize fossil driver<br />

● Interrupt_0x14_function_0x08:_Flush output buffer waiting until done.<br />

● Interrupt_0x14_function_0x09:_Purge output buffer.<br />

● Interrupt_0x14_function_0x0A:_Purge receive buffer.<br />

● Interrupt_0x14_function_0x0B:_Transmit byte, do not wait.<br />

● Interrupt_0x14_function_0x0C:_Peek if next byte is available.<br />

● Interrupt_0x14_function_0x0F:_Enable/disable flow control.<br />

● Interrupt_0x14_function_0x18:_Read block of data<br />

● Interrupt_0x14_function_0x19:_Write a block of data<br />

● Interrupt_0x14_function_0x1B:_Get driver info<br />

● Interrupt_0x14_function_0x1E:_Extended set baud rate<br />

● Interrupt_0x14_function_0x80:_Enable/Disable RS485 mode<br />

● Interrupt_0x14_function_0x81:_Extended line control initialization<br />

● Interrupt_0x14_function_0x82:_Select RS485 pin<br />

● Interrupt_0x14_function_0x83:_Send break<br />

● Interrupt_0x14_function_0x84:_Enable/disable UART receiver<br />

● Interrupt_0x14_function_0x85:_Enable/disable UART transmitter<br />

● Interrupt_0x14_function_0xA0:_Get number of Tx bytes in UART<br />

● Interrupt_0x14_function_0xA1:_Install a Fossil User Callback Function<br />

Interrupt 0x14 service 0x00: Set baud rate<br />

Parameters<br />

AH<br />

AL<br />

Set the baud rate of the serial port<br />

0x00<br />

Configuration parameter.<br />

Bits 7--5: Baud rate, 4--3: Parity, 2: Stop bits, 1--0 Word length.<br />

Bits 7--5: Baud rate<br />

000 19200<br />

001 38400<br />

010 300<br />

011 600<br />

100 1200<br />

101 2400<br />

110 4800<br />

111 9600<br />

Bits 4--3: Parity<br />

00 None<br />

01 Odd<br />

11 Even<br />

Bit 2: Stop bits<br />

0: 1 Stop bit<br />

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

Bits 1--0: Word length<br />

1 0: 7 bits<br />

Page 327 / 400

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

Saved successfully!

Ooh no, something went wrong!