IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Fossil API types and data structures


Detailed Description

The Fossil API defines the following types.

Data Structures

struct  FossilDriverInfo_t
 Fossil driver info. More...
struct  fossil_event_t
 Fossil user callback event structure. More...
struct  FossilExternalPortCallbacks
 Fossil external port callbacks. More...

Typedefs

typedef int(* FOSSIL_USER_CALLBACK )(fossil_event_t *e)
 Prototype of Fossil user callback.

Enumerations

enum  FOSSIL_PORT {
  FOSSIL_UART1 = 0,
  FOSSIL_UART2 = 1,
  FOSSIL_UART3 = 2,
  FOSSIL_UART4 = 3,
  FOSSIL_UART5 = 4,
  FOSSIL_UART6 = 5
}
 

Fossil port index.

More...
enum  FOSSIL_STATUS {
  FOSSIL_DATA_AVAILABLE = 0x01,
  FOSSIL_OVERRUN_ERROR = 0x02,
  FOSSIL_PARITY_ERROR = 0x04,
  FOSSIL_FRAMING_ERROR = 0x08,
  FOSSIL_LINE_BREAK = 0x10,
  FOSSIL_OUTPUT_NOT_FULL = 0x20,
  FOSSIL_OUTPUT_BUFFER_EMPTY = 0x40
}
 

Fossil port status.

More...
enum  FOSSIL_PARITY {
  FOSSIL_PARITY_NO = 0,
  FOSSIL_PARITY_ODD = 1,
  FOSSIL_PARITY_EVEN = 2,
  FOSSIL_PARITY_MARK = 3,
  FOSSIL_PARITY_SPACE = 4,
  FOSSIL_PARITY_MULTI = 5
}
 

Fossil parity modes.

More...
enum  FOS_FLOW_CTRL {
  FOSSIL_FLOWCTRL_OFF = 0x0,
  FOSSIL_FLOWCTRL_XONXOFF_SEND = 0x1,
  FOSSIL_FLOWCTRL_RTSCTS = 0x2,
  FOSSIL_FLOWCTRL_XONXOFF_RECV = 0x8,
  FOSSIL_FLOWCTRL_XONXOFF_SEND_RECV = 0x9
}
 

Fossil flow control modes.

More...
enum  FOS_RTS_MODE {
  RTS_LOW = 0,
  RTS_HIGH = 1,
  RTS_NORMAL = 2
}
 

RTS modes.

More...
enum  RS485_MODE {
  FOSSIL_RS485_LOWACTIVE = 0,
  FOSSIL_RS485_HIGHACTIVE = 1,
  FOSSIL_RS485_DISABLE = 2
}
 

RS485 modes.

More...
enum  FOS_TXRX_MODE {
  FOS_DISABLE = 0,
  FOS_ENABLE = 1
}
 

Transmitter/Receiver modes.

More...
enum  FOS_MULTIDROP_MODE {
  FOS_MULTI_DATA = 0,
  FOS_MULTI_ADDR = 1
}
 

Multidrop protocal modes.

More...
enum  FOS_BREAK_SIZE {
  FOS_LONG_BREAK = 1,
  FOS_SHORT_BREAK = 2,
  FOS_EXTRALONG_BREAK = 3
}
 

Break signal length.

More...
enum  FOS_CB_EVENTS_RESPONSES {
  FE_DATA_AVAIL = 0x01,
  FE_DATA_AVAIL9 = 0x03,
  FE_ERROR_DETECTED = 0x10,
  FE_IGNORE_DATA = 0x80,
  FE_INSERT_DATA = 0x81
}
 

Fossil user callback events and responses.

More...





Top of page | Main page

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