CMSIS-Driver Validation  
Driver Validation
Modem Lines

Functions

void USART_Modem_RTS (void)
 Function: Function USART_Modem_RTS. More...
 
void USART_Modem_DTR (void)
 Function: Function USART_Modem_DTR. More...
 
void USART_Modem_CTS (void)
 Function: Function USART_Modem_CTS. More...
 
void USART_Modem_DSR (void)
 Function: Function USART_Modem_DSR. More...
 
void USART_Modem_DCD (void)
 Function: Function USART_Modem_DCD. More...
 
void USART_Modem_RI (void)
 Function: Function USART_Modem_RI. More...
 

Description

These tests verify API and operation of the USART modem lines handling functions.

The data exchange tests verify the following driver functions (USART Driver function documentation):

Note
These tests are not executed if any of the following settings are selected:
  • Test Mode Loopback
  • Tests Default Mode Synchronous Master/Slave or Single-wire

Function Documentation

◆ USART_Modem_RTS()

void USART_Modem_RTS ( void  )

The function USART_Modem_RTS verifies driving of modem line Request To Send (RTS):

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate

◆ USART_Modem_DTR()

void USART_Modem_DTR ( void  )

The function USART_Modem_DTR verifies driving of modem line Data Terminal Ready (DTR):

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate

◆ USART_Modem_CTS()

void USART_Modem_CTS ( void  )

The function USART_Modem_CTS verifies read of modem line Clear To Send (CTS):

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate

◆ USART_Modem_DSR()

void USART_Modem_DSR ( void  )

The function USART_Modem_DSR verifies read of modem line Data Set Ready (DSR):

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate

◆ USART_Modem_DCD()

void USART_Modem_DCD ( void  )

The function USART_Modem_DCD verifies read of modem line Data Carrier Detect (DCD):

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate

◆ USART_Modem_RI()

void USART_Modem_RI ( void  )

The function USART_Modem_RI verifies read of modem line Ring Indicator (RI):

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate