examples/triface/hw/hw_sipo.h File Reference

Macro for HW_SIPO_H. More...

#include <cfg/macros.h>
#include <avr/io.h>

Go to the source code of this file.


Defines

#define SIPO_SI_HIGH()   SOUT_OUT_HIGH
 Define the macros needed to set the serial input bit of SIPO device low or high.
#define SIPO_SI_CLOCK(clk_pol)
 Drive pin to load the bit, presented in serial-in pin, into sipo shift register.
#define SIPO_LOAD(device, load_pol)
 Clock the content of shift register to output.
#define SIPO_ENABLE()   OE_LOW;
 Enable the shift register output.
#define SIPO_SET_LD_LEVEL(device, load_pol)
 Set logic level for load signal.
#define SIPO_SET_CLK_LEVEL(clock_pol)
 Sel logic level for clock signal.
#define SIPO_INIT_PIN()
 Do everything needed in order to init the SIPO pins.

Enumerations

enum  SipoMap
 Mapping sipo connection on board. More...

Detailed Description

Macro for HW_SIPO_H.

Version:
Id
hw_sipo.h 2704 2009-06-04 16:39:33Z asterix

Author:
Andrea Grandi <andrea@develer.com>

Daniele Basile <asterix@develer.com>

Definition in file examples/triface/hw/hw_sipo.h.


Enumeration Type Documentation

enum SipoMap

Mapping sipo connection on board.

See schematics for more info.

Definition at line 54 of file examples/triface/hw/hw_sipo.h.