REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
functions::EEPROM25AA02::Status Class Reference

#include <EEPROM25AA02.h>

Public Member Functions

 Status (const uint8_t data_)
 
 operator uint8_t () const
 
bool is_write_in_progress () const
 
bool is_write_enabled () const
 
bool is_block_zero_protected () const
 
void set_block_zero_protection (bool on=true)
 
bool is_block_one_protected () const
 
void set_block_one_protection (bool on=true)
 
void set_block_protection (bool on=true)
 
void unset_block_protection ()
 
bool is_any_block_protected () const
 

Detailed Description

Definition at line 32 of file EEPROM25AA02.h.

Constructor & Destructor Documentation

◆ Status()

functions::EEPROM25AA02::Status::Status ( const uint8_t data_)
inlineexplicit

Definition at line 37 of file EEPROM25AA02.h.

Member Function Documentation

◆ is_any_block_protected()

bool functions::EEPROM25AA02::Status::is_any_block_protected ( ) const
inline

Definition at line 70 of file EEPROM25AA02.h.

References is_block_one_protected(), and is_block_zero_protected().

◆ is_block_one_protected()

bool functions::EEPROM25AA02::Status::is_block_one_protected ( ) const
inline

Definition at line 54 of file EEPROM25AA02.h.

Referenced by is_any_block_protected().

◆ is_block_zero_protected()

bool functions::EEPROM25AA02::Status::is_block_zero_protected ( ) const
inline

Definition at line 45 of file EEPROM25AA02.h.

Referenced by is_any_block_protected().

◆ is_write_enabled()

bool functions::EEPROM25AA02::Status::is_write_enabled ( ) const
inline

Definition at line 43 of file EEPROM25AA02.h.

◆ is_write_in_progress()

bool functions::EEPROM25AA02::Status::is_write_in_progress ( ) const
inline

Definition at line 41 of file EEPROM25AA02.h.

◆ operator uint8_t()

functions::EEPROM25AA02::Status::operator uint8_t ( ) const
inlineexplicit

Definition at line 39 of file EEPROM25AA02.h.

◆ set_block_one_protection()

void functions::EEPROM25AA02::Status::set_block_one_protection ( bool on = true)
inline

Definition at line 56 of file EEPROM25AA02.h.

Referenced by set_block_protection().

◆ set_block_protection()

void functions::EEPROM25AA02::Status::set_block_protection ( bool on = true)
inline

Definition at line 63 of file EEPROM25AA02.h.

References set_block_one_protection(), and set_block_zero_protection().

Referenced by unset_block_protection().

◆ set_block_zero_protection()

void functions::EEPROM25AA02::Status::set_block_zero_protection ( bool on = true)
inline

Definition at line 47 of file EEPROM25AA02.h.

Referenced by set_block_protection().

◆ unset_block_protection()

void functions::EEPROM25AA02::Status::unset_block_protection ( )
inline

Definition at line 68 of file EEPROM25AA02.h.

References set_block_protection().


The documentation for this class was generated from the following file: