BeRTOS
Data Structures | Defines | Enumerations | Functions
sipo.h File Reference

Generic Serial-in, Parallel-out implementation (SIPO). More...

#include "hw/hw_sipo.h"
#include <io/kfile.h>

Go to the source code of this file.

Data Structures

struct  Sipo
 Sipo KFile context structure. More...

Defines

#define KFT_SIPO   MAKE_ID('S', 'I', 'P', 'O')
 ID for sipo.

Enumerations

enum  SipoBitOrder
 Define enum to set sipo data order.
enum  SipoClkPol
 Define enum to set the start level of clock.
enum  SipoLoadPol
 Define enum to set load signal level.

Functions

SipoSIPO_CAST (KFile *fd)
 Convert + ASSERT from generic KFile to Sipo.
void sipo_init (Sipo *fd)
 Initialize the SIPO.

Detailed Description

Generic Serial-in, Parallel-out implementation (SIPO).

Author:
Andrea Grandi <andrea@develer.com>
Daniele Basile <asterix@develer.com>

Definition in file sipo.h.