netzerTypedefs.h File Reference


Detailed Description

Defines common typedefs for use in Netzer projects.

Software License
See the MBCSL for details.
Author:
Sven Schlender (kontakt at mobacon dot de)
Date:
2011-05-08


Defines

#define GPIO_INPUT   TRUE
 Expression for GPIO configured as input.
#define GPIO_OUTPUT   FALSE
 Expression for GPIO configured as output.
#define GPIO_COUNT   (13u)
 Count of supported GPIOs at the moment.
#define GPIO_00_ID   0x00
 ID for accessing the pin IO0.
#define GPIO_01_ID   0x01
 ID for accessing the pin IO1.
#define GPIO_02_ID   0x02
 ID for accessing the pin IO2.
#define GPIO_03_ID   0x03
 ID for accessing the pin IO3.
#define GPIO_04_ID   0x04
 ID for accessing the pin IO4.
#define GPIO_05_ID   0x05
 ID for accessing the pin IO5.
#define GPIO_06_ID   0x06
 ID for accessing the pin TX.
#define GPIO_07_ID   0x07
 ID for accessing the pin RX.
#define GPIO_08_ID   0x08
 ID for accessing the pin SPI_CS.
#define GPIO_09_ID   0x09
 ID for accessing the pin SPI_INT.
#define GPIO_0A_ID   0x0A
 ID for accessing the pin SPI_CLK.
#define GPIO_0B_ID   0x0B
 ID for accessing the pin SPI_MISO.
#define GPIO_0C_ID   0x0C
 ID for accessing the pin SPI_MOSI.

Enumerations

enum  ApplCommands_t {
  APPL_CMD_IDLE = 0, APPL_CMD_RESTART, APPL_CMD_RESET_TO_FACTORY, APPL_CMD_SHUTDOWN,
  APPL_CMD_BOOTLOADER, APPL_CMD_BLINK, APPL_CMD_COUNT
}
 This typedef defines some common commands for the application. More...
enum  NetzerState_t {
  NETZER_STARTING = 0, NETZER_NOLINK, NETZER_IP_ERROR, NETZER_READY,
  NETZER_SHUTDOWN
}
 The device states as enumerator. More...
enum  PageID_t
 All html files have this unique index. More...


Generated on Fri Mar 29 10:34:27 2013 for Netzer by  doxygen 1.5.5