RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
bspIo.h File Reference

This header file provides the kernel character input/output support API. More...

#include <stdarg.h>
#include <rtems/score/basedefs.h>

Go to the source code of this file.

Typedefs

typedef void(* BSP_output_char_function_type) (char)
 Polled character output functions shall have this type.
 
typedef int(* BSP_polling_getchar_function_type) (void)
 Polled character input functions shall have this type.
 

Functions

void rtems_putc (char c)
 Outputs the character to the kernel character output device.
 
void rtems_put_char (int c, void *unused)
 Puts the character using rtems_putc()
 
int putk (const char *s)
 Outputs the characters of the string and a newline character to the kernel character output device.
 
 RTEMS_PRINTFLIKE (1, 2) int printk(const char *fmt
 Outputs the characters defined by the format string and the arguments to the kernel character output device.
 
int vprintk (const char *fmt, va_list ap)
 Outputs the characters defined by the format string and the variable argument list to the kernel character output device.
 
int rtems_printk_printer (void *unused, const char *fmt, va_list ap)
 Outputs the characters defined by the format string and the variable argument list to the kernel character output device.
 
int getchark (void)
 Tries to dequeue a character from the kernel character input device.
 

Variables

BSP_output_char_function_type BSP_output_char
 This function pointer references the kernel character output implementation.
 
BSP_polling_getchar_function_type BSP_poll_char
 This function pointer may reference the kernel character input implementation.
 

Detailed Description

This header file provides the kernel character input/output support API.