Macros |
#define | I2C_ACK 0 |
#define | I2C_NACK 1 |
#define | GPIO1_SHIFTMASK 10 |
| I/O pin codes.
|
#define | GPIO2_SHIFTMASK 200 |
Enumerations |
enum | IO_PARAM_IDX { IDX_GPIO_CONF = 0,
IDX_GPIO0_CONF,
IDX_GPIO0_PULL_CONF,
IDX_GPIO0_DIR,
IDX_GPIO1_AN,
IDX_GPIO1_CONF0,
IDX_GPIO1_CONF1,
IDX_GPIO1_DIG_CONF,
IDX_GPIO1_DIR,
IDX_GPIO1_PULL,
IDX_GPIO2_CONF,
IDX_GPIO2_DIR,
IDX_GPIO0,
IDX_GPIO1,
IDX_GPIO2,
IDX_IO_STOP
} |
| IO initialization parameter indexes, all values are [ro].
|
enum | PIN_TYPE { SCSEDIO_0 = 1,
SCLKDIO_1 = 2,
WSDADIO_2 = 4,
RSDADIO_3 = 8,
ADIO_0 = GPIO1_SHIFTMASK + 1,
ADIO_1 = GPIO1_SHIFTMASK + 2,
ADIO_2 = GPIO1_SHIFTMASK + 4,
ADIO_3 = GPIO1_SHIFTMASK + 8,
ADIO_4 = GPIO1_SHIFTMASK + 16,
ADIO_5 = GPIO1_SHIFTMASK + 32,
ADIO_6 = GPIO1_SHIFTMASK + 64,
ADIO_7 = GPIO1_SHIFTMASK + 128,
WXID_IO = GPIO2_SHIFTMASK + 1,
WXOD_IO = GPIO2_SHIFTMASK + 2,
WAKE_0 = GPIO2_SHIFTMASK + 4,
WAKE_1 = GPIO2_SHIFTMASK + 8
} |
| IO pin bitmasks.
|
enum | PORT_TYPE { GPIO0 = 0,
GPIO1 = 1,
GPIO2 = 2
} |
| PORT codes. More...
|
enum | ANSRC_TYPE { NONE = 0,
GPIO1_ADIO_0 = ADIO_0,
GPIO1_ADIO_1 = ADIO_1,
GPIO1_ADIO_2 = ADIO_2,
GPIO1_ADIO_3 = ADIO_3,
GPIO1_ADIO_4 = ADIO_4,
GPIO1_ADIO_5 = ADIO_5,
GPIO1_ADIO_6 = ADIO_6,
GPIO1_ADIO_7 = ADIO_7,
RVDD,
RVSS,
VBG,
DAC,
VTEMP,
VDD_4,
ALL
} |
| Analog sources. More...
|
Detailed Description
IO initialization parameters. The first enumeration member = 0, the next = 1, etc
Enumeration Type Documentation
PORT codes.
- Enumerator:
GPIO0 |
SCSEDIO_0 - RSDADIO_3.
|
GPIO1 |
ADIO_0 - ADIO_7.
|
GPIO2 |
WXID_IO - WAKE_1.
|
Analog sources.
- Enumerator:
GPIO1_ADIO_0 |
ADIO0 Analog input.
|
GPIO1_ADIO_1 |
ADIO1 Analog input.
|
GPIO1_ADIO_2 |
ADIO2 Analog input.
|
GPIO1_ADIO_3 |
ADIO3 Analog input.
|
GPIO1_ADIO_4 |
ADIO4 Analog input/output.
|
GPIO1_ADIO_5 |
ADIO5 Analog output.
|
GPIO1_ADIO_6 |
ADIO6 Analog output.
|
GPIO1_ADIO_7 |
ADIO7 Analog output.
|
RVDD |
RF supply voltage regulator output (1,8V)
|
RVSS |
Ground connection for RF (0 V)
|
VBG |
Bandgap reference output (1,225 V), only available when radio enabled or analog measurement.
|
DAC |
8 Bit Digital-/Analog-Converter 0 ... 1,225 V
|
VTEMP |
Voltage temperature dependent (0,7 V - 2 mV/K)
|
VDD_4 |
Quarter of Unregulated supply voltage input.
|
ALL |
name all Pins to switch (only for off function needed)
|