RTEMS 6.3
Loading...
Searching...
No Matches

This header file provides the interfaces of the RTEMS Termios Device Support. More...

#include <rtems/thread.h>
#include <rtems/rtems/intr.h>
#include <sys/ioccom.h>

Go to the source code of this file.

Data Structures

struct  rtems_termios_device_context
 Termios device context. More...
struct  rtems_termios_device_handler
 Termios device handler. More...
struct  rtems_termios_device_flow
 Termios device flow control handler. More...

Macros

#define RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER(name)
 Initializer for static initialization of Termios device contexts.

Typedefs

typedef struct rtems_termios_device_context rtems_termios_device_context
 Termios device context.

Enumerations

enum  rtems_termios_device_mode { TERMIOS_POLLED , TERMIOS_IRQ_DRIVEN , TERMIOS_TASK_DRIVEN , TERMIOS_IRQ_SERVER_DRIVEN }

Functions

void rtems_termios_device_lock_acquire_default (rtems_termios_device_context *ctx, rtems_interrupt_lock_context *lock_context)
void rtems_termios_device_lock_release_default (rtems_termios_device_context *ctx, rtems_interrupt_lock_context *lock_context)

Detailed Description

This header file provides the interfaces of the RTEMS Termios Device Support.

Macro Definition Documentation

◆ RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER

#define RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER ( name)
Value:
{ \
rtems_termios_device_lock_acquire_default, \
rtems_termios_device_lock_release_default \
}
#define RTEMS_INTERRUPT_LOCK_INITIALIZER(_name)
Statically initializes an ISR lock object.
Definition intr.h:909

Initializer for static initialization of Termios device contexts.

Parameters
nameThe name for the interrupt lock. It must be a string. The name is only used if profiling is enabled.

Typedef Documentation

◆ rtems_termios_device_context

typedef struct rtems_termios_device_context rtems_termios_device_context

Termios device context.

See also
RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER(), rtems_termios_device_context_initialize() and rtems_termios_device_install().