mcx::watchdog::GpioLines

mcx::watchdog::GpioLines

Public Functions

Name
GpioLines()
GpioLines(std::initializer_list< unsigned int > line_offset_list)
~GpioLines()
bool open(const char * device, GpioLineDir dir)
bool update()
void add(unsigned int line_offset)
void add(std::initializer_list< unsigned int > line_offset_list)
bool set(unsigned int line_offset, bool value)
bool set(std::initializer_list< unsigned int > line_offset_list, bool value)
bool get(unsigned int line_offset) const
unsigned int length() const
const unsigned int * lines() const
const gpiohandle_data * data() const

Public Functions Documentation

function GpioLines

GpioLines()

function GpioLines

GpioLines(
    std::initializer_list< unsigned int > line_offset_list
)

function ~GpioLines

~GpioLines()

function open

bool open(
    const char * device,
    GpioLineDir dir
)

function update

bool update()

function add

void add(
    unsigned int line_offset
)

function add

void add(
    std::initializer_list< unsigned int > line_offset_list
)

function set

bool set(
    unsigned int line_offset,
    bool value
)

function set

bool set(
    std::initializer_list< unsigned int > line_offset_list,
    bool value
)

function get

bool get(
    unsigned int line_offset
) const

function length

unsigned int length() const

function lines

const unsigned int * lines() const

function data

const gpiohandle_data * data() const

Updated on 2022-04-05 at 16:21:27 +0200