BeRTOS
Functions
ft245rl.c File Reference

Function library for Accessing FT245RL USB interface. More...

#include "hw/hw_ft245rl.h"
#include "ft245rl.h"
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cfg/module.h>
#include <drv/timer.h>
#include <io/kfile.h>
#include <string.h>

Go to the source code of this file.

Functions

static size_t ft245rl_read (struct KFile *_fd, void *_buf, size_t size)
 Read size bytes in buffer buf, from fid _fd.
static size_t ft245rl_write (struct KFile *_fd, const void *_buf, size_t size)
 Write size bytes from buffer buf, of fid _fd.
void ft245rl_init (Ft245rl *fd)
 Ft245rl init function.

Detailed Description

Function library for Accessing FT245RL USB interface.

This module handles USB communication with FT245RL chip. This chip is a parallel USB interface with data flow control. A kfile-like interface is supplied.

Author:
Francesco Sacchi <batt@develer.com>

Definition in file ft245rl.c.