dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
bl_messages.h File Reference

Go to the source code of this file.

Classes

struct  msg_capabilities_req
 
struct  msg_capabilities_rep_all
 
struct  msg_capabilities_rep_specific
 
struct  msg_enter_dfu
 
struct  msg_jump_fw
 
struct  msg_reset
 
struct  msg_op_abort
 
struct  msg_op_end
 
struct  msg_xfer_cont
 
struct  msg_status_req
 
struct  msg_status_rep
 
struct  msg_wipe_partition
 

Namespaces

 tl_dfu
 

Enumerations

enum  tl_dfu::bl_commands {
  tl_dfu::BL_MSG_RESERVED = 0, tl_dfu::BL_MSG_CAP_REQ, tl_dfu::BL_MSG_CAP_REP, tl_dfu::BL_MSG_ENTER_DFU,
  tl_dfu::BL_MSG_JUMP_FW, tl_dfu::BL_MSG_RESET, tl_dfu::BL_MSG_OP_ABORT, tl_dfu::BL_MSG_WRITE_CONT,
  tl_dfu::BL_MSG_OP_END, tl_dfu::BL_MSG_READ_START, tl_dfu::BL_MSG_READ_CONT, tl_dfu::BL_MSG_STATUS_REQ,
  tl_dfu::BL_MSG_STATUS_REP, tl_dfu::BL_MSG_WIPE_PARTITION, tl_dfu::BL_MSG_WRITE_START
}
 
enum  tl_dfu::dfu_partition_label {
  tl_dfu::DFU_PARTITION_FW, tl_dfu::DFU_PARTITION_DESC, tl_dfu::DFU_PARTITION_BL, tl_dfu::DFU_PARTITION_SETTINGS,
  tl_dfu::DFU_PARTITION_AUTOTUNE, tl_dfu::DFU_PARTITION_LOG, tl_dfu::DFU_PARTITION_LOADABLE_EXTENSION
}
 

Functions

 __attribute__ ((packed))
 
 PACK (struct msg_xfer_start{uint32_t packets_in_transfer;uint8_t label;uint8_t words_in_last_packet;uint32_t expected_crc;})
 
 PACK (union msg_contents{struct msg_capabilities_req cap_req;struct msg_capabilities_rep_all cap_rep_all;struct msg_capabilities_rep_specific cap_rep_specific;struct msg_enter_dfu enter_dfu;struct msg_jump_fw jump_fw;struct msg_reset reset;struct msg_op_abort op_abort;struct msg_op_end op_end;struct msg_xfer_start xfer_start;struct msg_xfer_cont xfer_cont;struct msg_status_req status_req;struct msg_status_rep status_rep;struct msg_wipe_partition wipe_partition;uint8_t pad[62];})
 
 PACK (struct bl_messages{uint8_t flags_command;union msg_contents v;})
 

Detailed Description

Author
Tau Labs, http://taulabs.org, Copyright (C) 2014

Definition in file bl_messages.h.