COSA
An Object-Oriented Platform for Arduino Programming
W25X40CL::status_t Union Reference

#include <W25X40CL.hh>

Collaboration diagram for W25X40CL::status_t:
Collaboration graph

Public Member Functions

 status_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As unsigned 8-bit value. More...
 
struct {
   uint8_t   BUSY:1
 < As bit-fields. More...
 
   uint8_t   WEL:1
 Write Enable Latch. More...
 
   uint8_t   BP:3
 Block Protect Bits. More...
 
   uint8_t   TB:1
 Top/Bottom Protect. More...
 
   uint8_t   RESERVED:1
 Reserved. More...
 
   uint8_t   SRP:1
 Status Register Protect. More...
 
}; 
 

Detailed Description

Status Register (S0) bitfields (Chap. 8.1 Status Register, pp. 11-12).

Definition at line 130 of file W25X40CL.hh.

Constructor & Destructor Documentation

W25X40CL::status_t::status_t ( uint8_t  value = 0)
inline

Definition at line 140 of file W25X40CL.hh.

Member Function Documentation

W25X40CL::status_t::operator uint8_t ( )
inline

Definition at line 144 of file W25X40CL.hh.

Member Data Documentation

struct { ... }
uint8_t W25X40CL::status_t::as_uint8

As unsigned 8-bit value.

Definition at line 131 of file W25X40CL.hh.

uint8_t W25X40CL::status_t::BP

Block Protect Bits.

Definition at line 135 of file W25X40CL.hh.

uint8_t W25X40CL::status_t::BUSY

< As bit-fields.

Erase/Write In Progress.

Definition at line 133 of file W25X40CL.hh.

uint8_t W25X40CL::status_t::RESERVED

Reserved.

Definition at line 137 of file W25X40CL.hh.

uint8_t W25X40CL::status_t::SRP

Status Register Protect.

Definition at line 138 of file W25X40CL.hh.

uint8_t W25X40CL::status_t::TB

Top/Bottom Protect.

Definition at line 136 of file W25X40CL.hh.

uint8_t W25X40CL::status_t::WEL

Write Enable Latch.

Definition at line 134 of file W25X40CL.hh.


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