µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::driver::serial::Modem_status Class Reference

Serial modem status More...

#include <serial.h>

Public Member Functions

bool is_cts_active (void)
 
bool is_dcd_active (void)
 
bool is_dsr_active (void)
 
bool is_ri_active (void)
 

Public Attributes

bool cts: 1
 CTS state: true=Active, false=Inactive.
 
bool dcd: 1
 DCD state: true=Active, false=Inactive.
 
bool dsr: 1
 DSR state: true=Active, false=Inactive.
 
bool ri: 1
 RI state: true=Active, false=Inactive.
 

Detailed Description

Definition at line 354 of file serial.h.

Member Function Documentation

◆ is_cts_active()

bool os::driver::serial::Modem_status::is_cts_active ( void  )
inline

Definition at line 792 of file serial.h.

793 {
794 return cts;
795 }
bool cts
CTS state: true=Active, false=Inactive.
Definition serial.h:375

References os::driver::serial::cts.

◆ is_dcd_active()

bool os::driver::serial::Modem_status::is_dcd_active ( void  )
inline

Definition at line 804 of file serial.h.

805 {
806 return dcd;
807 }
bool dcd
DCD state: true=Active, false=Inactive.
Definition serial.h:381

References os::driver::serial::dcd.

Referenced by os::posix::device_serial_buffered< CS >::do_vopen(), and os::posix::device_serial_buffered< CS >::signal_event().

◆ is_dsr_active()

bool os::driver::serial::Modem_status::is_dsr_active ( void  )
inline

Definition at line 798 of file serial.h.

799 {
800 return dsr;
801 }
bool dsr
DSR state: true=Active, false=Inactive.
Definition serial.h:378

References os::driver::serial::dsr.

◆ is_ri_active()

bool os::driver::serial::Modem_status::is_ri_active ( void  )
inline

Definition at line 810 of file serial.h.

811 {
812 return ri;
813 }
bool ri
RI state: true=Active, false=Inactive.
Definition serial.h:384

References os::driver::serial::ri.

Member Data Documentation

◆ cts

bool os::driver::serial::Modem_status::cts

Definition at line 375 of file serial.h.

◆ dcd

bool os::driver::serial::Modem_status::dcd

Definition at line 381 of file serial.h.

◆ dsr

bool os::driver::serial::Modem_status::dsr

Definition at line 378 of file serial.h.

◆ ri

bool os::driver::serial::Modem_status::ri

Definition at line 384 of file serial.h.


The documentation for this class was generated from the following file: