COSA
An Object-Oriented Platform for Arduino Programming
SD::R1 Union Reference

#include <SD.hh>

Collaboration diagram for SD::R1:
Collaboration graph

Public Member Functions

 R1 (uint8_t value=0)
 
bool is_error () const
 
bool is_ready () const
 

Public Attributes

uint8_t as_uint8
 
struct {
   uint8_t   in_idle_state:1
 
   uint8_t   erase_reset:1
 
   uint8_t   illegal_command:1
 
   uint8_t   com_crc_error:1
 
   uint8_t   erase_sequence_error:1
 
   uint8_t   address_error:1
 
   uint8_t   parameter_error:1
 
   uint8_t   reserved:1
 
}; 
 

Detailed Description

R1 (Status).

Definition at line 212 of file SD.hh.

Constructor & Destructor Documentation

SD::R1::R1 ( uint8_t  value = 0)
inline

Definition at line 224 of file SD.hh.

Member Function Documentation

bool SD::R1::is_error ( ) const
inline

Definition at line 225 of file SD.hh.

bool SD::R1::is_ready ( ) const
inline

Definition at line 226 of file SD.hh.

Member Data Documentation

struct { ... }
uint8_t SD::R1::address_error

Definition at line 220 of file SD.hh.

uint8_t SD::R1::as_uint8

Definition at line 213 of file SD.hh.

uint8_t SD::R1::com_crc_error

Definition at line 218 of file SD.hh.

uint8_t SD::R1::erase_reset

Definition at line 216 of file SD.hh.

uint8_t SD::R1::erase_sequence_error

Definition at line 219 of file SD.hh.

uint8_t SD::R1::illegal_command

Definition at line 217 of file SD.hh.

uint8_t SD::R1::in_idle_state

Definition at line 215 of file SD.hh.

uint8_t SD::R1::parameter_error

Definition at line 221 of file SD.hh.

uint8_t SD::R1::reserved

Definition at line 222 of file SD.hh.


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