Hardware macro definition.
More...
Go to the source code of this file.
Defines |
|
#define | CS |
| SPI pin definition.
|
#define | SCK |
| SPI pin definition.
|
#define | MOSI |
| SPI pin definition.
|
#define | MISO |
| SPI pin definition.
|
#define | SPI_PORT |
| SPI pin definition.
|
#define | SPI_PIN |
| SPI pin definition.
|
#define | SPI_DDR |
| SPI pin definition.
|
|
#define | MOSI_LOW() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
#define | MOSI_HIGH() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
#define | MISO_HIGH() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
#define | SCK_LOW() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
#define | SCK_HIGH() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
#define | CS_LOW() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
#define | CS_HIGH() do { /* Implement me! */ } while(0) |
| Pin logic level.
|
|
#define | CS_ENABLE() CS_LOW() |
| SPI pin commands.
|
#define | CS_DISABLE() CS_HIGH() |
| SPI pin commands.
|
#define | SS_ACTIVE() CS_LOW() |
| SPI pin commands.
|
#define | SS_INACTIVE() CS_HIGH() |
| SPI pin commands.
|
#define | SCK_INACTIVE() SCK_LOW() |
| SPI pin commands.
|
#define | SCK_ACTIVE() SCK_HIGH() |
| SPI pin commands.
|
#define | CS_OUT() do { /* Implement me! */ } while(0) |
| SPI pin commands.
|
#define | MOSI_IN() do { /* Implement me! */ } while(0) |
| SPI pin commands.
|
#define | MOSI_OUT() do { /* Implement me! */ } while(0) |
| SPI pin commands.
|
#define | IS_MISO_HIGH() (false /* Implement me! */ ) |
| SPI pin commands.
|
#define | MISO_IN() do { /* Implement me! */ } while(0) |
| SPI pin commands.
|
#define | MISO_OUT() do { /* Implement me! */ } while(0) |
| SPI pin commands.
|
#define | SCK_OUT() do { /* Implement me! */ } while(0) |
| SPI pin commands.
|
#define | SCK_PULSE() |
| SPI pin commands.
|
Detailed Description
Hardware macro definition.
- Author:
- Daniele Basile <asterix@develer.com>
Definition in file hw_spi.h.
Define Documentation
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 54 of file hw_spi.h.
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 57 of file hw_spi.h.
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 56 of file hw_spi.h.
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 55 of file hw_spi.h.
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 60 of file hw_spi.h.
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 59 of file hw_spi.h.
SPI pin definition.
- Note:
- CS is assert when level is low.
Definition at line 58 of file hw_spi.h.