|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of the IOmcu's side of one update session. More...
#include <link_update_dev.h>
Data Fields | |
| const link_update_io_t * | io |
| const uint8_t * | running |
| const uint8_t * | target |
| uint32_t | slot_bytes |
| uint16_t | slot |
| uint8_t | state |
| uint8_t | error |
| uint16_t | regs_cmd [4] |
| uint32_t | size |
| uint16_t | next |
| uint16_t | blocks |
| uint16_t | data [LINK_UPD_DATA_COUNT] |
| uint8_t | digest_of |
| uint8_t | digest [LINK_SHA256_BYTES] |
| uint8_t | expect [LINK_SHA256_BYTES] |
| link_image_hash_t | hash |
| bool | restart_due |
| bool | restart_timed |
| uint32_t | restart_at_ms |
| bool | heard |
| uint32_t | heard_ms |
| bool | sweep |
| bool | sweep_tried |
| uint32_t | sweep_ms |
| uint8_t | first [LINK_UPD_SECTOR_BYTES] |
| uint8_t | sector [LINK_UPD_SECTOR_BYTES] |
The state of the IOmcu's side of one update session.
| uint16_t link_update_dev_t::blocks |
blocks in the session's image
| uint8_t link_update_dev_t::digest[LINK_SHA256_BYTES] |
the digest the image hashes to
| uint8_t link_update_dev_t::digest_of |
| uint8_t link_update_dev_t::error |
| uint8_t link_update_dev_t::expect[LINK_SHA256_BYTES] |
the digest the host expects
| uint8_t link_update_dev_t::first[LINK_UPD_SECTOR_BYTES] |
the slot's first sector
| link_image_hash_t link_update_dev_t::hash |
the hash of the image so far
| bool link_update_dev_t::heard |
an update page took a request since the last poll
| uint32_t link_update_dev_t::heard_ms |
the poll that saw the last one
| uint16_t link_update_dev_t::next |
the block COMMIT takes next
| uint16_t link_update_dev_t::regs_cmd[4] |
CMD and ARG0..2 as last written
| const uint8_t* link_update_dev_t::running |
the running slot's bytes
| uint8_t link_update_dev_t::sector[LINK_UPD_SECTOR_BYTES] |
the sector being filled
| uint32_t link_update_dev_t::size |
the session's image, or bytes hashed
| uint16_t link_update_dev_t::slot |
LINK_UPD_SLOT
| uint32_t link_update_dev_t::slot_bytes |
bytes in one slot; 0 when there are none
| uint8_t link_update_dev_t::state |
| bool link_update_dev_t::sweep |
the other slot's first sector is owed its erase (LINK_UPD_SLOT_OTHER)
| uint32_t link_update_dev_t::sweep_ms |
the last try
| bool link_update_dev_t::sweep_tried |
whether the sweep was tried
| const uint8_t* link_update_dev_t::target |
the other slot's bytes