parameters: (self, level=1)
docstring: Set terminal status line: Request To Send
docstring_summary: Set terminal status line: Request To Send
docstring_tokens: Set terminal status line : Request To Send
function: def setRTS(self, level=1):
          """Set terminal status line: Request To Send"""
          # remember level for reconfigure
          if level:
              self._rtsState = win32.RTS_CONTROL_ENABLE
          else:
              self._rtsState = win32.RTS_CONTROL_DISABLE
          # also apply now if port is open
          if self.hComPort:
              if level:
                  win32.EscapeCommFunction(self.hComPort, win32.SETRTS)
              else:
                  win32.EscapeCommFunction(self.hComPort, win32.CLRRTS)
function_tokens: def setRTS ( self , level = 1 ) : # remember level for reconfigure if level : self . _rtsState = win32 . RTS_CONTROL_ENABLE else : self . _rtsState = win32 . RTS_CONTROL_DISABLE # also apply now if port is open if self . hComPort : if level : win32 . EscapeCommFunction ( self . hComPort , win32 . SETRTS ) else : win32 . EscapeCommFunction ( self . hComPort , win32 . CLRRTS )