Speeduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
entity_page_address_t Struct Reference

Position and size of an entity within a page. More...

#include <pages.h>

Public Member Functions

constexpr entity_page_address_t (void)
 
constexpr entity_page_address_t (uint16_t base, uint16_t length)
 
bool isOffsetInEntity (uint16_t offset) const
 Check if the offset is within the entity address range.
 
entity_page_address_t next (uint16_t nextBlockSize) const
 

Public Attributes

uint16_t start
 
uint16_t size
 

Detailed Description

Position and size of an entity within a page.

Constructor & Destructor Documentation

◆ entity_page_address_t() [1/2]

constexpr entity_page_address_t::entity_page_address_t ( void  )
inlineconstexpr
Here is the caller graph for this function:

◆ entity_page_address_t() [2/2]

constexpr entity_page_address_t::entity_page_address_t ( uint16_t  base,
uint16_t  length 
)
inlineconstexpr

Member Function Documentation

◆ isOffsetInEntity()

bool entity_page_address_t::isOffsetInEntity ( uint16_t  offset) const
inline

Check if the offset is within the entity address range.

Parameters
offsetAddress offset from the start of the page
Returns
if the offset is within the entity address range, false otherwise
Here is the call graph for this function:

◆ next()

entity_page_address_t entity_page_address_t::next ( uint16_t  nextBlockSize) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ size

uint16_t entity_page_address_t::size

◆ start

uint16_t entity_page_address_t::start

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