Speeduino
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pin_array_t< N, base_type > Struct Template Reference

An array of pin numbers. More...

#include <pinNumbers_t.h>

Inheritance diagram for pin_array_t< N, base_type >:
Inheritance graph
[legend]
Collaboration diagram for pin_array_t< N, base_type >:
Collaboration graph
[legend]

Public Member Functions

constexpr pin_array_t ()
 
bool isPinUsed (uint8_t pin) const
 Does the array contain pin?
 
- Public Member Functions inherited from array< T, N >
constexpr array ()=default
 
constexpr reference operator[] (size_type index) noexcept
 
constexpr const_reference operator[] (size_type index) const noexcept
 
constexpr reference at (size_type index)
 
constexpr const_reference at (size_type index) const
 
constexpr reference front () noexcept
 
constexpr const_reference front () const noexcept
 
constexpr reference back () noexcept
 
constexpr const_reference back () const noexcept
 
constexpr Tdata () noexcept
 
constexpr const Tdata () const noexcept
 
constexpr iterator begin () noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr iterator end () noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type max_size () const noexcept
 
constexpr void fill (const T &value)
 

Additional Inherited Members

- Public Types inherited from array< T, N >
using value_type = T
 
using size_type = size_t
 
using reference = T &
 
using const_reference = const T &
 
using iterator = T *
 
using const_iterator = const T *
 
- Public Attributes inherited from array< T, N >
T _elements [N] = {}
 

Detailed Description

template<uint8_t N, typename base_type = array<uint8_t, N>>
struct pin_array_t< N, base_type >

An array of pin numbers.

Constructor & Destructor Documentation

◆ pin_array_t()

template<uint8_t N, typename base_type = array<uint8_t, N>>
constexpr pin_array_t< N, base_type >::pin_array_t ( )
inlineconstexpr
Here is the call graph for this function:

Member Function Documentation

◆ isPinUsed()

template<uint8_t N, typename base_type = array<uint8_t, N>>
bool pin_array_t< N, base_type >::isPinUsed ( uint8_t  pin) const
inline

Does the array contain pin?

Here is the call graph for this function:
Here is the caller graph for this function:

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