Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28C40::WriteAuthenticationData Class Reference

DS28C40::WriteAuthenticationData Class Reference

Format authenticated write input data. More...

#include <DS28C40.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.
WriteAuthenticationDatasetAnonymousRomId ()
 Set ROM ID for use in anonymous mode.
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 526 of file DS28C40.hpp.


Member Function Documentation

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 615 of file DS28C40.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 618 of file DS28C40.hpp.

Page::const_span newPage (  ) const

Get immutable new page.

Definition at line 585 of file DS28C40.hpp.

Page::span newPage (  )

Get mutable new page.

Definition at line 582 of file DS28C40.hpp.

Page::span oldPage (  )

Get mutable old page.

Definition at line 564 of file DS28C40.hpp.

Page::const_span oldPage (  ) const

Get immutable old page.

Definition at line 567 of file DS28C40.hpp.

int pageNum (  ) const

Get page number.

Definition at line 600 of file DS28C40.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 533 of file DS28C40.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 540 of file DS28C40.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 543 of file DS28C40.hpp.

WriteAuthenticationData& setAnonymousRomId (  )

Set ROM ID for use in anonymous mode.

Definition at line 552 of file DS28C40.hpp.

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

Set MAN ID.

Definition at line 621 of file DS28C40.hpp.

WriteAuthenticationData& setNewPage ( Page::const_span  newPage )

Set new page.

Definition at line 588 of file DS28C40.hpp.

WriteAuthenticationData& setOldPage ( Page::const_span  oldPage )

Set old page.

Definition at line 570 of file DS28C40.hpp.

WriteAuthenticationData& setPageNum ( int  pageNum )

Set page number.

Definition at line 603 of file DS28C40.hpp.

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

Set ROM ID.

Definition at line 546 of file DS28C40.hpp.