IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

int fossil_initmode ( int  port,
BOOL  dcd,

Initialize the serial fossil driver for specified port.

Use this function to initialize the fossil interface for a specified port. The user must make sure that only one task opens a port. If this port is used for standard input or output (console), then stdin/stdout will be disabled for this port.

port port number index: 0=UART1 ... 5=UART6, see FOSSIL_PORT
dcd DCD mode: if TRUE port uses DCD signal (only valid for UART1, UART2 and UART3)
txDMA DMA mode for sending: if TRUE sending is done in DMA mode.
rxDMA DMA mode for receiving: if TRUE receiving is done in DMA mode. This feature is currently not supported.
On success 0x1954 (signature from Fossil driver), negative value if desired mode could not be setup
SC2x3 V1.00 - CLIB V1.00
See also:

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1