sipo.h File Reference

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

#include "hw/hw_sipo.h"
#include <kern/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.

Typedefs

typedef enum SipoBitOrder SipoBitOrder
 Define enum to set sipo data order.
typedef enum SipoClockPol SipoClkPol
 Define enum to set the start level of clock.
typedef enum SipoLoadPol SipoLoadPol
 Define enum to set load signal level.
typedef struct Sipo Sipo
 Sipo KFile context structure.

Enumerations

enum  SipoBitOrder
 

Define enum to set sipo data order.


enum  SipoClockPol
 

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).

Version:
Id
sipo.h 3215 2010-03-17 11:45:15Z arighi
Author:
Andrea Grandi <andrea@develer.com>
Daniele Basile <asterix@develer.com>

Definition in file sipo.h.