Typedefs

typedef uint8_t gus_flow_ctrl_state_t
 Underlying type used for the GUS flow control state. More...
 

Enumerations

enum  gus_evt_type_t {
  GUS_EVT_INVALID,
  GUS_EVT_RX_DATA_RECEIVED,
  GUS_EVT_TX_DATA_SENT,
  GUS_EVT_TX_PORT_OPENED,
  GUS_EVT_TX_PORT_CLOSED,
  GUS_EVT_FLOW_CTRL_ENABLE,
  GUS_EVT_FLOW_CTRL_DISABLE,
  GUS_EVT_TX_FLOW_OFF,
  GUS_EVT_TX_FLOW_ON
}
 Goodix UART Service event types. More...
 
enum  gus_flow_ctrl_state {
  GUS_FLOW_CTRL_STATE_OFF = 0,
  GUS_FLOW_CTRL_STATE_ON
}
 Flow control state for GUS service. More...
 

Detailed Description

Typedef Documentation

◆ gus_flow_ctrl_state_t

typedef uint8_t gus_flow_ctrl_state_t

Underlying type used for the GUS flow control state.

Definition at line 103 of file gus.h.

Enumeration Type Documentation

◆ gus_evt_type_t

Goodix UART Service event types.

Enumerator
GUS_EVT_INVALID 

Invalid GUS event.

GUS_EVT_RX_DATA_RECEIVED 

The data from the peer has been received.

GUS_EVT_TX_DATA_SENT 

The data from the application has been sent, and the service is ready to accept new data from the application.

GUS_EVT_TX_PORT_OPENED 

Tx port has been opened.

GUS_EVT_TX_PORT_CLOSED 

Tx port has been closed.

GUS_EVT_FLOW_CTRL_ENABLE 

GUS flow control been enabled.

GUS_EVT_FLOW_CTRL_DISABLE 

GUS flow control been disabled.

GUS_EVT_TX_FLOW_OFF 

Tx flow off control request.

GUS_EVT_TX_FLOW_ON 

Tx flow on control request.

Definition at line 83 of file gus.h.

◆ gus_flow_ctrl_state

Flow control state for GUS service.

Enumerator
GUS_FLOW_CTRL_STATE_OFF 

Indicate that GUS can not receive data from peer.

GUS_FLOW_CTRL_STATE_ON 

Indicate that GUS can receive data from peer.

Definition at line 97 of file gus.h.