C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
ComChannelVMT Struct Reference

Methods implemented by the interface of class ComChannel. More...

Data Fields

int(* read )(SELF, uint8_t *data, unsigned max_len)
 
bool(* ready )(SELF)
 
void(* set_notify )(SELF, struct ComNotification *listener, uint32_t signal)
 
int(* write )(SELF, const uint8_t *data, unsigned length)
 
bool(* free )(SELF)
 

Detailed Description

Methods implemented by the interface of class ComChannel.

Interface of class ComChannel is an union of interfaces of ComSink and ComSource. Implementer must provide definitions for all the methods present in this interface.

Field Documentation

◆ free

bool(* ComChannelVMT::free) (SELF)

◆ read

int(* ComChannelVMT::read) (SELF, uint8_t *data, unsigned max_len)

◆ ready

bool(* ComChannelVMT::ready) (SELF)

◆ set_notify

void(* ComChannelVMT::set_notify) (SELF, struct ComNotification *listener, uint32_t signal)

◆ write

int(* ComChannelVMT::write) (SELF, const uint8_t *data, unsigned length)