sipo.c File Reference

SIPO Module. More...

#include "sipo.h"
#include "hw/hw_sipo.h"
#include <cfg/compiler.h>
#include <kern/kfile.h>
#include <string.h>

Go to the source code of this file.


Functions

void sipo_putchar (uint8_t c)
 Write a char in sipo shift register.
static size_t sipo_write (UNUSED_ARG(struct KFile *, fd), const void *_buf, size_t size)
 Write a buffer into the sipo register and, when finished, give a load pulse.
void sipo_init (Sipo *fd)
 Initialize the SIPO.

Detailed Description

SIPO Module.

Version:
Id
sipo.c 2462 2009-04-02 08:11:20Z asterix

The SIPO module transforms a serial input in a parallel output. Please check hw_sipo.h file to customize hardware related parameters.

Author:
Andrea Grandi <andrea@develer.com>

Daniele Basile <asterix@develer.com>

Definition in file sipo.c.