Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::BootloaderState Struct Reference

Internal state of the bootloader stack. More...

#include <Bootloader.hxx>

Public Attributes

struct can_frame input_frame
 
struct can_frame output_frame
 
unsigned input_frame_full: 1
 
unsigned output_frame_full: 1
 
unsigned request_reset: 1
 
unsigned stream_pending: 1
 
unsigned stream_open: 1
 
unsigned stream_proceed_pending: 1
 
unsigned datagram_output_pending: 1
 
unsigned datagram_reply_waiting: 1
 
NodeAlias alias
 
InitState init_state
 
NodeAlias datagram_dst
 
uint8_t datagram_dlc
 
uint8_t datagram_offset
 
uint8_t datagram_payload [14]
 
NodeAlias write_src_alias
 
uint8_t stream_src_id
 
uint16_t stream_buffer_size
 
int stream_buffer_remaining
 
uintptr_t write_buffer_offset
 
unsigned write_buffer_index
 

Detailed Description

Internal state of the bootloader stack.

Definition at line 78 of file Bootloader.hxx.

Member Data Documentation

◆ alias

NodeAlias openlcb::BootloaderState::alias

Definition at line 99 of file Bootloader.hxx.

◆ datagram_dlc

uint8_t openlcb::BootloaderState::datagram_dlc

Definition at line 104 of file Bootloader.hxx.

◆ datagram_dst

NodeAlias openlcb::BootloaderState::datagram_dst

Definition at line 103 of file Bootloader.hxx.

◆ datagram_offset

uint8_t openlcb::BootloaderState::datagram_offset

Definition at line 105 of file Bootloader.hxx.

◆ datagram_output_pending

unsigned openlcb::BootloaderState::datagram_output_pending

Definition at line 95 of file Bootloader.hxx.

◆ datagram_payload

uint8_t openlcb::BootloaderState::datagram_payload[14]

Definition at line 106 of file Bootloader.hxx.

◆ datagram_reply_waiting

unsigned openlcb::BootloaderState::datagram_reply_waiting

Definition at line 97 of file Bootloader.hxx.

◆ init_state

InitState openlcb::BootloaderState::init_state

Definition at line 100 of file Bootloader.hxx.

◆ input_frame

struct can_frame openlcb::BootloaderState::input_frame

Definition at line 80 of file Bootloader.hxx.

◆ input_frame_full

unsigned openlcb::BootloaderState::input_frame_full

Definition at line 82 of file Bootloader.hxx.

◆ output_frame

struct can_frame openlcb::BootloaderState::output_frame

Definition at line 81 of file Bootloader.hxx.

◆ output_frame_full

unsigned openlcb::BootloaderState::output_frame_full

Definition at line 83 of file Bootloader.hxx.

◆ request_reset

unsigned openlcb::BootloaderState::request_reset

Definition at line 84 of file Bootloader.hxx.

◆ stream_buffer_remaining

int openlcb::BootloaderState::stream_buffer_remaining

Definition at line 118 of file Bootloader.hxx.

◆ stream_buffer_size

uint16_t openlcb::BootloaderState::stream_buffer_size

Definition at line 115 of file Bootloader.hxx.

◆ stream_open

unsigned openlcb::BootloaderState::stream_open

Definition at line 87 of file Bootloader.hxx.

◆ stream_pending

unsigned openlcb::BootloaderState::stream_pending

Definition at line 86 of file Bootloader.hxx.

◆ stream_proceed_pending

unsigned openlcb::BootloaderState::stream_proceed_pending

Definition at line 88 of file Bootloader.hxx.

◆ stream_src_id

uint8_t openlcb::BootloaderState::stream_src_id

Definition at line 113 of file Bootloader.hxx.

◆ write_buffer_index

unsigned openlcb::BootloaderState::write_buffer_index

Definition at line 124 of file Bootloader.hxx.

◆ write_buffer_offset

uintptr_t openlcb::BootloaderState::write_buffer_offset

Definition at line 122 of file Bootloader.hxx.

◆ write_src_alias

NodeAlias openlcb::BootloaderState::write_src_alias

Definition at line 109 of file Bootloader.hxx.


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