mcx::watchdog

mcx::watchdog

Classes

Name
class mcx::watchdog::WatchdogGpio
class mcx::watchdog::GpioLines
struct mcx::watchdog::WatchdogIn
struct mcx::watchdog::WatchdogOut
class mcx::watchdog::WatchdogBase
class mcx::watchdog::WatchdogBasic
class mcx::watchdog::Module
class mcx::watchdog::PulseGenerator
class mcx::watchdog::WatchdogSim
class mcx::watchdog::TaskMonitor

Types

Name
enum OutputPins { BLUE = 22, GREEN = 23, RED = 24, SAFETY_RESET = 26, WATCHDOG = 27}
enum InputPins { WATCHDOG1 = 5, WATCHDOG2 = 6, SAFETY_FEEDBACK = 19}
enum GpioLineDir { INPUT = GPIOHANDLE_REQUEST_INPUT, OUTPUT = GPIOHANDLE_REQUEST_OUTPUT}
enum class WatchdogType { EXTERNAL, MCX_BOX}

Functions

Name
bool gpioReleaseLineHandle(int fd)
int gpioRequestLineHandle(const char * device_name, const unsigned int * lines, unsigned int nlines, unsigned int flag, struct gpiohandle_data * data, const char * consumer_label)
bool gpioGetValues(const int fd, struct gpiohandle_data * data)
bool gpioSetValues(const int fd, struct gpiohandle_data * data)

Types Documentation

enum OutputPins

Enumerator Value Description
BLUE 22
GREEN 23
RED 24
SAFETY_RESET 26
WATCHDOG 27

enum InputPins

Enumerator Value Description
WATCHDOG1 5
WATCHDOG2 6
SAFETY_FEEDBACK 19

enum GpioLineDir

Enumerator Value Description
INPUT GPIOHANDLE_REQUEST_INPUT
OUTPUT GPIOHANDLE_REQUEST_OUTPUT

enum WatchdogType

Enumerator Value Description
EXTERNAL
MCX_BOX

Functions Documentation

function gpioReleaseLineHandle

bool gpioReleaseLineHandle(
    int fd
)

function gpioRequestLineHandle

int gpioRequestLineHandle(
    const char * device_name,
    const unsigned int * lines,
    unsigned int nlines,
    unsigned int flag,
    struct gpiohandle_data * data,
    const char * consumer_label
)

function gpioGetValues

bool gpioGetValues(
    const int fd,
    struct gpiohandle_data * data
)

function gpioSetValues

bool gpioSetValues(
    const int fd,
    struct gpiohandle_data * data
)

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