Microchip® Advanced Software Framework

sha204_write_parameters Struct Reference

This structure contains the parameters for the sha204m_write function.

#include <sha204_command_marshaling.h>

Data Fields

uint16_t address
 what address to write to More...
 
uint8_t * mac
 pointer to MAC of this command (null if zone is unlocked) More...
 
uint8_t * new_value
 pointer to 4 or 32 bytes of data to be written More...
 
uint8_t * rx_buffer
 pointer to receive buffer More...
 
uint8_t * tx_buffer
 pointer to send buffer More...
 
uint8_t zone
 what zone (config, OTP, or data) to write to, how many bytes (4 or 32), and whether data are encrypted More...
 

uint16_t sha204_write_parameters::address

what address to write to

Referenced by sha204m_write().

uint8_t* sha204_write_parameters::mac

pointer to MAC of this command (null if zone is unlocked)

Referenced by sha204m_write().

uint8_t* sha204_write_parameters::new_value

pointer to 4 or 32 bytes of data to be written

Referenced by sha204m_write().

uint8_t* sha204_write_parameters::rx_buffer

pointer to receive buffer

Referenced by sha204m_write().

uint8_t* sha204_write_parameters::tx_buffer

pointer to send buffer

Referenced by sha204m_write().

uint8_t sha204_write_parameters::zone

what zone (config, OTP, or data) to write to, how many bytes (4 or 32), and whether data are encrypted

Referenced by sha204m_write().