Device interface library for multiple platforms including Mbed.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
DS28E15_22_25::ProtectionWriteMacData Class Reference
Format data to hash for an Authenticated Write to a memory protection block. More...
#include <DS28E15_22_25.hpp>
Public Member Functions | |
Result::const_span | result () const |
Formatted data result. | |
ROM ID | |
1-Wire ROM ID of the device. | |
Core::RomId::span | romId () |
Get mutable ROM ID. | |
Core::RomId::const_span | romId () const |
Get immutable ROM ID. | |
ProtectionWriteMacData & | setRomId (Core::RomId::const_span romId) |
Set ROM ID. | |
MAN ID | |
Manufacturer ID of the device. | |
Core::ManId::span | manId () |
Get mutable MAN ID. | |
Core::ManId::const_span | manId () const |
Get immutable MAN ID. | |
ProtectionWriteMacData & | setManId (Core::ManId::const_span manId) |
Set MAN ID. | |
Old protection | |
Existing protection status in device. | |
BlockProtection | oldProtection () const |
Get old protection. | |
MaximInterfaceDevices_EXPORT ProtectionWriteMacData & | setOldProtection (BlockProtection oldProtection) |
Set old protection. | |
New protection | |
New protection status to write. | |
BlockProtection | newProtection () const |
Get new protection. | |
MaximInterfaceDevices_EXPORT ProtectionWriteMacData & | setNewProtection (BlockProtection newProtection) |
Set new protection. |
Detailed Description
Format data to hash for an Authenticated Write to a memory protection block.
Definition at line 680 of file DS28E15_22_25.hpp.
Member Function Documentation
Core::ManId::span manId | ( | ) |
Get mutable MAN ID.
Definition at line 716 of file DS28E15_22_25.hpp.
Core::ManId::const_span manId | ( | ) | const |
Get immutable MAN ID.
Definition at line 721 of file DS28E15_22_25.hpp.
BlockProtection newProtection | ( | ) | const |
Get new protection.
Definition at line 751 of file DS28E15_22_25.hpp.
BlockProtection oldProtection | ( | ) | const |
Get old protection.
Definition at line 738 of file DS28E15_22_25.hpp.
Result::const_span result | ( | ) | const |
Formatted data result.
Definition at line 687 of file DS28E15_22_25.hpp.
Core::RomId::span romId | ( | ) |
Get mutable ROM ID.
Definition at line 694 of file DS28E15_22_25.hpp.
Core::RomId::const_span romId | ( | ) | const |
Get immutable ROM ID.
Definition at line 699 of file DS28E15_22_25.hpp.
ProtectionWriteMacData& setManId | ( | Core::ManId::const_span | manId ) |
Set MAN ID.
Definition at line 726 of file DS28E15_22_25.hpp.
DS28E15_22_25::ProtectionWriteMacData & setNewProtection | ( | BlockProtection | newProtection ) |
Set new protection.
Definition at line 198 of file DS28E15_22_25.cpp.
DS28E15_22_25::ProtectionWriteMacData & setOldProtection | ( | BlockProtection | oldProtection ) |
Set old protection.
Definition at line 187 of file DS28E15_22_25.cpp.
ProtectionWriteMacData& setRomId | ( | Core::RomId::const_span | romId ) |
Set ROM ID.
Definition at line 704 of file DS28E15_22_25.hpp.
Generated on Tue Jul 12 2022 11:13:22 by 1.7.2