Nut/OS  4.10.3
API Reference
sbbif1.h File Reference

Serial bit banged interface 1. More...

#include <cfg/arch/gpio.h>
Include dependency graph for sbbif1.h:

Go to the source code of this file.

Defines

#define SBBI1_MAX_DEVICES   4
 Maximum number of devices (chip selects).
#define SBBI1_INIT()

Detailed Description

Serial bit banged interface 1.

 *
 * $Log$
 * Revision 1.3  2009/01/18 10:45:54  haraldkipp
 * Fixed bit banging SPI for ARM targets.
 *
 * Revision 1.2  2008/08/28 16:11:31  haraldkipp
 * Fixed bitbanging SPI for ARM targets.
 *
 * Revision 1.1  2007/04/12 09:07:54  haraldkipp
 * Configurable SPI added.
 *
 *
 * 

Definition in file sbbif1.h.


Define Documentation

#define SBBI1_MAX_DEVICES   4

Maximum number of devices (chip selects).

Definition at line 61 of file sbbif1.h.

#define SBBI1_INIT ( )
Value:
{ \
    SBBI1_SCK_CLR(); \
    SBBI1_SCK_ENA(); \
    SBBI1_MOSI_CLR(); \
    SBBI1_MOSI_ENA(); \
    SBBI1_MISO_ENA(); \
}

Definition at line 826 of file sbbif1.h.