// mode returns the USB core operating mode of the receiver class c.
//go:inline
mode returns the USB core operating mode of the receiver class c.
go:inline
// mode returns the USB core operating mode of the receiver class c . // go : inline
func (c class) mode() int {
	switch c.id {
	case classDeviceCDCACM, classDeviceHID:
		return modeDevice
	default:
		return modeIdle
	}
}
func ( c class ) mode ( ) int { switch c . id { case classDeviceCDCACM , classDeviceHID : return modeDevice default : return modeIdle } }
mode returns the USB core operating mode of the receiver class c.
go:inline
mode returns the USB core operating mode of the receiver class c . go : inline