OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
Loading...
Searching...
No Matches
MTI Bit Field Masks

Masks for priority, stream/datagram, dest address, and event presence. More...

Macros

#define MASK_STREAM_OR_DATAGRAM   0x01000
 Bit indicating stream or datagram message type.
 
#define MASK_PRIORITY   0x00C00
 Priority bits (2 bits)
 
#define MASK_SIMPLE_PROTOCOL   0x00010
 Simple protocol indicator bit.
 
#define MASK_DEST_ADDRESS_PRESENT   0x00008
 Destination address present indicator.
 
#define MASK_EVENT_PRESENT   0x00004
 Event ID present indicator.
 
#define MASK_PRIORITY_MODIFIER   0x00003
 Priority modifier bits.
 

Detailed Description

Masks for priority, stream/datagram, dest address, and event presence.

Macro Definition Documentation

◆ MASK_STREAM_OR_DATAGRAM

#define MASK_STREAM_OR_DATAGRAM   0x01000

Bit indicating stream or datagram message type.

◆ MASK_PRIORITY

#define MASK_PRIORITY   0x00C00

Priority bits (2 bits)

◆ MASK_SIMPLE_PROTOCOL

#define MASK_SIMPLE_PROTOCOL   0x00010

Simple protocol indicator bit.

◆ MASK_DEST_ADDRESS_PRESENT

#define MASK_DEST_ADDRESS_PRESENT   0x00008

Destination address present indicator.

◆ MASK_EVENT_PRESENT

#define MASK_EVENT_PRESENT   0x00004

Event ID present indicator.

◆ MASK_PRIORITY_MODIFIER

#define MASK_PRIORITY_MODIFIER   0x00003

Priority modifier bits.


Copyright (c) 2026 Jim Kueneman all rights reserved. See the License