github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/asluav/enum_serial_control_flag.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package asluav
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // SERIAL_CONTROL flags (bitmask)
    10  type SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG
    11  
    12  const (
    13  	// Set if this is a reply
    14  	SERIAL_CONTROL_FLAG_REPLY SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_REPLY
    15  	// Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message
    16  	SERIAL_CONTROL_FLAG_RESPOND SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_RESPOND
    17  	// Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set
    18  	SERIAL_CONTROL_FLAG_EXCLUSIVE SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_EXCLUSIVE
    19  	// Block on writes to the serial port
    20  	SERIAL_CONTROL_FLAG_BLOCKING SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_BLOCKING
    21  	// Send multiple replies until port is drained
    22  	SERIAL_CONTROL_FLAG_MULTI SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_MULTI
    23  )