Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28E15_22_25::SegmentWriteMacData Class Reference

DS28E15_22_25::SegmentWriteMacData Class Reference

Format data to hash for an Authenticated Write to a memory segment. 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.
SegmentWriteMacDatasetRomId (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.
SegmentWriteMacDatasetManId (Core::ManId::const_span manId)
 Set MAN ID.
Page number

Page number for write operation.

int pageNum () const
 Get page number.
SegmentWriteMacDatasetPageNum (int pageNum)
 Set page number.
Segment number

Segment number within page for write operation.

int segmentNum () const
 Get segment number.
SegmentWriteMacDatasetSegmentNum (int segmentNum)
 Set segment number.
Old data

Existing data contained in the segment.

Segment::span oldData ()
 Get mutable old data.
Segment::const_span oldData () const
 Get immutable old data.
SegmentWriteMacDatasetOldData (Segment::const_span oldData)
 Set old data.
New data

New data to write to the segment.

Segment::span newData ()
 Get mutable new data.
Segment::const_span newData () const
 Get immutable new data.
SegmentWriteMacDatasetNewData (Segment::const_span newData)
 Set new data.

Detailed Description

Format data to hash for an Authenticated Write to a memory segment.

Definition at line 541 of file DS28E15_22_25.hpp.


Member Function Documentation

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 577 of file DS28E15_22_25.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 582 of file DS28E15_22_25.hpp.

Segment::const_span newData (  ) const

Get immutable new data.

Definition at line 656 of file DS28E15_22_25.hpp.

Segment::span newData (  )

Get mutable new data.

Definition at line 651 of file DS28E15_22_25.hpp.

Segment::span oldData (  )

Get mutable old data.

Definition at line 629 of file DS28E15_22_25.hpp.

Segment::const_span oldData (  ) const

Get immutable old data.

Definition at line 634 of file DS28E15_22_25.hpp.

int pageNum (  ) const

Get page number.

Definition at line 599 of file DS28E15_22_25.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 548 of file DS28E15_22_25.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 555 of file DS28E15_22_25.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 560 of file DS28E15_22_25.hpp.

int segmentNum (  ) const

Get segment number.

Definition at line 614 of file DS28E15_22_25.hpp.

SegmentWriteMacData& setManId ( Core::ManId::const_span  manId )

Set MAN ID.

Definition at line 587 of file DS28E15_22_25.hpp.

SegmentWriteMacData& setNewData ( Segment::const_span  newData )

Set new data.

Definition at line 661 of file DS28E15_22_25.hpp.

SegmentWriteMacData& setOldData ( Segment::const_span  oldData )

Set old data.

Definition at line 639 of file DS28E15_22_25.hpp.

SegmentWriteMacData& setPageNum ( int  pageNum )

Set page number.

Definition at line 602 of file DS28E15_22_25.hpp.

SegmentWriteMacData& setRomId ( Core::RomId::const_span  romId )

Set ROM ID.

Definition at line 565 of file DS28E15_22_25.hpp.

SegmentWriteMacData& setSegmentNum ( int  segmentNum )

Set segment number.

Definition at line 617 of file DS28E15_22_25.hpp.