distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
distortos::devices::SdMmcCardLowLevel::Response Class Reference

command response More...

#include "distortos/devices/memory/SdMmcCardLowLevel.hpp"

Inheritance diagram for distortos::devices::SdMmcCardLowLevel::Response:
[legend]
Collaboration diagram for distortos::devices::SdMmcCardLowLevel::Response:
[legend]

Public Types

using Base = estd::ContiguousRange< uint32_t >
 base of Response - range of uint32_t More...
 
- Public Types inherited from estd::ContiguousRange< uint32_t >
using value_type = uint32_t
 value_type type More...
 
using pointer = value_type *
 pointer type More...
 
using const_pointer = const value_type *
 const_pointer type More...
 
using reference = value_type &
 reference type More...
 
using const_reference = const value_type &
 const_reference type More...
 
using iterator = value_type *
 iterator type More...
 
using const_iterator = const value_type *
 const_iterator type More...
 
using size_type = std::size_t
 size_type type More...
 
using difference_type = std::ptrdiff_t
 difference_type type More...
 
using reverse_iterator = std::reverse_iterator< iterator >
 reverse_iterator type More...
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 const_reverse_iterator type More...
 

Public Member Functions

constexpr Response ()
 Response's constructor. More...
 
constexpr Response (uint32_t &shortResponse)
 Response's constructor. More...
 
constexpr Response (uint32_t(&shortResponse)[1])
 Response's constructor. More...
 
constexpr Response (std::array< uint32_t, 1 > &shortResponse)
 Response's constructor. More...
 
constexpr Response (uint32_t(&longResponse)[4])
 Response's constructor. More...
 
constexpr Response (std::array< uint32_t, 4 > &longResponse)
 Response's constructor. More...
 
- Public Member Functions inherited from estd::ContiguousRange< uint32_t >
constexpr ContiguousRange (const iterator beginn, const iterator endd) noexcept
 ContiguousRange's constructor. More...
 
constexpr ContiguousRange () noexcept
 Empty ContiguousRange's constructor. More...
 
constexpr ContiguousRange (const iterator beginn, size_t sizee) noexcept
 ContiguousRange's constructor using iterator and size. More...
 
constexpr ContiguousRange (uint32_t(&array)[N]) noexcept
 ContiguousRange's constructor using C-style array. More...
 
constexpr ContiguousRange (std::array< uint32_t, N > &array) noexcept
 ContiguousRange's constructor using std::array. More...
 
constexpr ContiguousRange (const std::array< typename std::remove_const< uint32_t >::type, N > &array) noexcept
 ContiguousRange's constructor using const std::array. More...
 
constexpr ContiguousRange (const std::array< uint32_t, N > &array) noexcept
 ContiguousRange's constructor using const std::array with const type. More...
 
constexpr ContiguousRange (uint32_t &value) noexcept
 ContiguousRange's constructor using single value. More...
 
constexpr ContiguousRange (const ContiguousRange< typename std::remove_const< TT >::type > &other) noexcept
 ContiguousRange's converting constructor. More...
 
reference operator[] (const size_type i) const noexcept
 ContiguousRange's subscript operator. More...
 
constexpr iterator begin () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr const_iterator cend () const noexcept
 
constexpr const_reverse_iterator crbegin () const noexcept
 
constexpr const_reverse_iterator crend () const noexcept
 
constexpr iterator end () const noexcept
 
constexpr reverse_iterator rbegin () const noexcept
 
constexpr reverse_iterator rend () const noexcept
 
constexpr size_type size () const noexcept
 

Detailed Description

command response

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ Response() [1/6]

constexpr distortos::devices::SdMmcCardLowLevel::Response::Response ( )
inline

Response's constructor.

Used when no response is expected.

◆ Response() [2/6]

constexpr distortos::devices::SdMmcCardLowLevel::Response::Response ( uint32_t &  shortResponse)
inlineexplicit

Response's constructor.

Used when short response is expected.

Parameters
[out]shortResponseis a reference to variable into which the short response will be read

◆ Response() [3/6]

constexpr distortos::devices::SdMmcCardLowLevel::Response::Response ( uint32_t(&)  shortResponse[1])
inlineexplicit

Response's constructor.

Used when short response is expected.

Parameters
[out]shortResponseis a reference to array into which the short response will be read

◆ Response() [4/6]

constexpr distortos::devices::SdMmcCardLowLevel::Response::Response ( std::array< uint32_t, 1 > &  shortResponse)
inlineexplicit

Response's constructor.

Used when short response is expected.

Parameters
[out]shortResponseis a reference to array into which the short response will be read

◆ Response() [5/6]

constexpr distortos::devices::SdMmcCardLowLevel::Response::Response ( uint32_t(&)  longResponse[4])
inlineexplicit

Response's constructor.

Used when long response is expected.

Parameters
[out]longResponseis a reference to array into which the long response will be read

◆ Response() [6/6]

constexpr distortos::devices::SdMmcCardLowLevel::Response::Response ( std::array< uint32_t, 4 > &  longResponse)
inlineexplicit

Response's constructor.

Used when long response is expected.

Parameters
[out]longResponseis a reference to array into which the long response will be read

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