emlabcpp
modern opinionated embedded C++ library
page.h File Reference
#include "../../result.h"
#include "./base.h"
#include <cstdint>
#include <optional>
+ Include dependency graph for page.h:

Go to the source code of this file.

Namespaces

 emlabcpp
 MIT License.
 
 emlabcpp::cfg
 MIT License.
 

Enumerations

enum class  emlabcpp::cfg::hdr_state : uint8_t {
  emlabcpp::cfg::A = 0x40 ,
  emlabcpp::cfg::B = A + 0x40 ,
  emlabcpp::cfg::C = B + 0x40
}
 

Functions

hdr_state emlabcpp::cfg::next (hdr_state cs) noexcept
 
opt< hdr_state > emlabcpp::cfg::byte_to_hdr (std::byte b) noexcept
 
opt< hdr_state > emlabcpp::cfg::hdr_to_hdr_state (std::span< std::byte, cell_size > b) noexcept
 
std::array< std::byte, 2 > emlabcpp::cfg::get_hdr (hdr_state hst) noexcept