English
Language : 

SDBC-DK3UG Datasheet, PDF (68/76 Pages) Silicon Laboratories – 4 buttons and 4 LEDs for custom purposes
SDBC-DK3 UG
/* ========================================== *
*
TYPE DECLARATION
*
* ========================================== */
//Only these types of variables are used in this software
#undef uint8
#undef sint8
#undef uint16
#undef sint16
#undef uint32
#undef sint32
#define
#define
#define
#define
#define
#define
uint8
sint8
uint16
sint16
uint32
sint32
unsigned char
signed char
unsigned short
signed short
unsigned long
signed long
typedef struct
{
unsigned int bit0 : 1;
unsigned int bit1 : 1;
unsigned int bit2 : 1;
unsigned int bit3 : 1;
unsigned int bit4 : 1;
unsigned int bit5 : 1;
unsigned int bit6 : 1;
unsigned int bit7 : 1;
} reg;
typedef union
{
reg testreg;
uint8 adat;
}reg_union;
typedef union
{
reg_union bytes[2];
uint16 adat;
}reg16_union;
/* ===========================================*
*
DEFINITIONS
*
* ===========================================*/
#undef
#undef
#undef
#undef
TRUE
FALSE
INPUT
OUTPUT
#define TRUE
(1)
#define FALSE
(0)
#define INPUT
(1)
#define OUTPUT
(0)
68
Rev. 0.4