Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28C39::WriteAuthenticationData Class Reference

DS28C39::WriteAuthenticationData Class Reference

Format authenticated write input data. More...

#include <DS28C39.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.
WriteAuthenticationDatasetRomId (Core::RomId::const_span romId)
 Set ROM ID.
Old page

Existing data contained in the page.

Page::span oldPage ()
 Get mutable old page.
Page::const_span oldPage () const
 Get immutable old page.
WriteAuthenticationDatasetOldPage (Page::const_span oldPage)
 Set old page.
New page

New data to write to the page.

Page::span newPage ()
 Get mutable new page.
Page::const_span newPage () const
 Get immutable new page.
WriteAuthenticationDatasetNewPage (Page::const_span newPage)
 Set new page.
Page number

Page number for write operation.

int pageNum () const
 Get page number.
WriteAuthenticationDatasetPageNum (int pageNum)
 Set page number.
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.
WriteAuthenticationDatasetManId (Core::ManId::const_span manId)
 Set MAN ID.

Detailed Description

Format authenticated write input data.

Definition at line 343 of file DS28C39.hpp.


Member Function Documentation

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 426 of file DS28C39.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 429 of file DS28C39.hpp.

Page::const_span newPage (  ) const

Get immutable new page.

Definition at line 396 of file DS28C39.hpp.

Page::span newPage (  )

Get mutable new page.

Definition at line 393 of file DS28C39.hpp.

Page::span oldPage (  )

Get mutable old page.

Definition at line 375 of file DS28C39.hpp.

Page::const_span oldPage (  ) const

Get immutable old page.

Definition at line 378 of file DS28C39.hpp.

int pageNum (  ) const

Get page number.

Definition at line 411 of file DS28C39.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 350 of file DS28C39.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 357 of file DS28C39.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 360 of file DS28C39.hpp.

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

Set MAN ID.

Definition at line 432 of file DS28C39.hpp.

WriteAuthenticationData& setNewPage ( Page::const_span  newPage )

Set new page.

Definition at line 399 of file DS28C39.hpp.

WriteAuthenticationData& setOldPage ( Page::const_span  oldPage )

Set old page.

Definition at line 381 of file DS28C39.hpp.

WriteAuthenticationData& setPageNum ( int  pageNum )

Set page number.

Definition at line 414 of file DS28C39.hpp.

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

Set ROM ID.

Definition at line 363 of file DS28C39.hpp.