R1 response.
More...
◆ Errors
◆ RawR1Response
◆ R1Response()
constexpr distortos::devices::anonymous_namespace{SdCard.cpp}::R1Response::R1Response |
( |
const RawR1Response |
r1 | ) |
|
|
inlineexplicit |
R1Response's constructor.
- Parameters
-
[in] | r1 | is the raw R1 response data |
◆ getCurrentState()
CardState distortos::devices::anonymous_namespace{SdCard.cpp}::R1Response::getCurrentState |
( |
| ) |
const |
|
inline |
- Returns
- value of CURRENT_STATE bit field
◆ isError()
bool distortos::devices::anonymous_namespace{SdCard.cpp}::R1Response::isError |
( |
const Errors |
ignoredErrors = {} | ) |
const |
|
inline |
Checks whether R1 response contains any error.
- Parameters
-
[in] | ignoredErrors | are all errors which should be ignored in the check, default - none |
- Returns
- true if R1 response contains any error, false otherwise
◆ r1_
RawR1Response distortos::devices::anonymous_namespace{SdCard.cpp}::R1Response::r1_ |
|
private |
The documentation for this class was generated from the following file: