ChibiOS  21.6.0
hal_sio_driver Struct Reference

Structure representing a SIO driver. More...

#include <hal_sio.h>

Collaboration diagram for hal_sio_driver:
Collaboration graph

Data Fields

const struct sio_driver_vmtvmt
 Virtual Methods Table. More...
 
siostate_t state
 Driver state. More...
 
const SIOConfigconfig
 Current configuration data. More...
 
const SIOOperationoperation
 Current configuration data. More...
 
thread_reference_t sync_rx
 Synchronization point for RX. More...
 
thread_reference_t sync_tx
 Synchronization point for TX. More...
 
thread_reference_t sync_txend
 Synchronization point for TX-end. More...
 

Detailed Description

Structure representing a SIO driver.

Note
Implementations may extend this structure to contain more, architecture dependent, fields.

Definition at line 156 of file hal_sio.h.

Field Documentation

◆ vmt

const struct sio_driver_vmt* hal_sio_driver::vmt

Virtual Methods Table.

Definition at line 161 of file hal_sio.h.

Referenced by sioObjectInit().

◆ state

◆ config

const SIOConfig* hal_sio_driver::config

Current configuration data.

Definition at line 170 of file hal_sio.h.

Referenced by sioStart(), and sioStop().

◆ operation

const SIOOperation* hal_sio_driver::operation

Current configuration data.

Definition at line 174 of file hal_sio.h.

Referenced by sioStartOperation(), and sioStopOperation().

◆ sync_rx

thread_reference_t hal_sio_driver::sync_rx

Synchronization point for RX.

Definition at line 179 of file hal_sio.h.

Referenced by sioStopOperation(), and sioSynchronizeRX().

◆ sync_tx

thread_reference_t hal_sio_driver::sync_tx

Synchronization point for TX.

Definition at line 183 of file hal_sio.h.

Referenced by sioStopOperation(), and sioSynchronizeTX().

◆ sync_txend

thread_reference_t hal_sio_driver::sync_txend

Synchronization point for TX-end.

Definition at line 187 of file hal_sio.h.

Referenced by sioStopOperation(), and sioSynchronizeTXEnd().