A POSIX "style" peripheral driver extension for FreeRTOS
FreeRTOS+IO provides a Linux/POSIX like
open(), read(), write(), ioctl()
type interface to peripheral driver libraries. It sits between a peripheral
driver library and a user application to provide a single, common,
interface to all supported peripherals across all supported platforms. The current board support package implementation(s)
support UART, I2C and SPI operation, in both polled and interrupt driven
modes. Support for non-serial peripherals will be added soon.
FreeRTOS+IO abstracts away the peripheral interface details, including the
implementation of any interrupt service routines that may be required.
Various different data transfer modes are catered for, using different
techniques to both read and write data, making FreeRTOS+IO
applicable to a wide range of applications.
View the quick and simple source code examples
to understand the FreeRTOS+IO concept, and see its API in action. More comprehensive demonstrations come with
the board support package(s) - including examples of FreeRTOS+IO and FreeRTOS+CLI being used to
create a telnet like server that can be used to manipulate files on an SD
card and view FreeRTOS statistics.
The FreeRTOS+IO layer sits between the user application and the peripherals.
FreeRTOS+IO currently provides three write modes, and three read
modes. These are described briefly in the table below, and more fully
in the transfer modes section
of this site. FreeRTOS_ioctl() calls are used to switch between