COSA
An Object-Oriented Platform for Arduino Programming
S25FL127S::config_t Union Reference

#include <S25FL127S.hh>

Collaboration diagram for S25FL127S::config_t:
Collaboration graph

Public Member Functions

 config_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As unsigned 8-bit value. More...
 
struct {
   uint8_t   FREEZE:1
 < As bit-fields. More...
 
   uint8_t   QUAD:1
 Quad I/O operation. More...
 
   uint8_t   TBPARAM:1
 Parameter Sectors location (0=low,1=high). More...
 
   uint8_t   BPNV:1
 BP2-0 in status register (0=NV,1=Volatile). More...
 
   uint8_t   RFU:1
 Reserved for Future Use. More...
 
   uint8_t   TBPROT:1
 Start of Block Protection (0=high,1=low). More...
 
   uint8_t   LC:2
 Latency Code (see table 8.7, pp. 60). More...
 
}; 
 

Detailed Description

Configuration Register 1 (CR1) bitfields (Table 8.6, pp. 59).

Definition at line 132 of file S25FL127S.hh.

Constructor & Destructor Documentation

S25FL127S::config_t::config_t ( uint8_t  value = 0)
inline

Definition at line 143 of file S25FL127S.hh.

Member Function Documentation

S25FL127S::config_t::operator uint8_t ( )
inline

Definition at line 147 of file S25FL127S.hh.

Member Data Documentation

struct { ... }
uint8_t S25FL127S::config_t::as_uint8

As unsigned 8-bit value.

Definition at line 133 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::BPNV

BP2-0 in status register (0=NV,1=Volatile).

Definition at line 138 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::FREEZE

< As bit-fields.

Lock current statos of BP2-0 bits.

Definition at line 135 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::LC

Latency Code (see table 8.7, pp. 60).

Definition at line 141 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::QUAD

Quad I/O operation.

Definition at line 136 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::RFU

Reserved for Future Use.

Definition at line 139 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::TBPARAM

Parameter Sectors location (0=low,1=high).

Definition at line 137 of file S25FL127S.hh.

uint8_t S25FL127S::config_t::TBPROT

Start of Block Protection (0=high,1=low).

Definition at line 140 of file S25FL127S.hh.


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