Extended MaximInterface

Dependents:   mbed_DS28EC20_GPIO

Embed: (wiki syntax)

« Back to documentation index

DS28E15_22_25::ProtectionWriteMacData Class Reference

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

Sha256::WriteMacData::const_span result () const
 Formatted data result.
ROM ID

1-Wire ROM ID of the device.

RomId::span romId ()
 Get mutable ROM ID.
RomId::const_span romId () const
 Get immutable ROM ID.
ProtectionWriteMacDatasetRomId (RomId::const_span romId)
 Set ROM ID.
MAN ID

Manufacturer ID of the device.

ManId::span manId ()
 Get mutable MAN ID.
ManId::const_span manId () const
 Get immutable MAN ID.
ProtectionWriteMacDatasetManId (ManId::const_span manId)
 Set MAN ID.
Old protection

Existing protection status in device.

BlockProtection oldProtection () const
 Get old protection.
MaximInterface_EXPORT
ProtectionWriteMacData
setOldProtection (BlockProtection oldProtection)
 Set old protection.
New protection

New protection status to write.

BlockProtection newProtection () const
 Get new protection.
MaximInterface_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 662 of file DS28E15_22_25.hpp.


Member Function Documentation

ManId::span manId (  )

Get mutable MAN ID.

Definition at line 696 of file DS28E15_22_25.hpp.

ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 701 of file DS28E15_22_25.hpp.

BlockProtection newProtection (  ) const

Get new protection.

Definition at line 731 of file DS28E15_22_25.hpp.

BlockProtection oldProtection (  ) const

Get old protection.

Definition at line 718 of file DS28E15_22_25.hpp.

Formatted data result.

Definition at line 667 of file DS28E15_22_25.hpp.

RomId::span romId (  )

Get mutable ROM ID.

Definition at line 674 of file DS28E15_22_25.hpp.

RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 679 of file DS28E15_22_25.hpp.

ProtectionWriteMacData& setManId ( ManId::const_span  manId )

Set MAN ID.

Definition at line 706 of file DS28E15_22_25.hpp.

DS28E15_22_25::ProtectionWriteMacData & setNewProtection ( BlockProtection  newProtection )

Set new protection.

Definition at line 207 of file DS28E15_22_25.cpp.

DS28E15_22_25::ProtectionWriteMacData & setOldProtection ( BlockProtection  oldProtection )

Set old protection.

Definition at line 196 of file DS28E15_22_25.cpp.

ProtectionWriteMacData& setRomId ( RomId::const_span  romId )

Set ROM ID.

Definition at line 684 of file DS28E15_22_25.hpp.