Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
DCCPacket::cmd_t Struct Reference

Specifies the meaning of the command byte for meta-commands to send. More...

#include <packet.h>

Public Attributes

uint8_t is_pkt: 1
 Always 1.
 
uint8_t cmd: 7
 Command identifier.
 

Detailed Description

Specifies the meaning of the command byte for meta-commands to send.

Definition at line 80 of file packet.h.

Member Data Documentation

◆ cmd

uint8_t DCCPacket::cmd_t::cmd

Command identifier.

Definition at line 85 of file packet.h.

◆ is_pkt

uint8_t DCCPacket::cmd_t::is_pkt

Always 1.

Definition at line 83 of file packet.h.


The documentation for this struct was generated from the following file: