-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstdtypes.h
56 lines (42 loc) · 1.83 KB
/
stdtypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/************************************************************************/
/* */
/* stdtypes.h -- Digilent Standard Type Declarations */
/* */
/************************************************************************/
/* Author: Gene Apperson */
/* Copyright 2005, Digilent Inc. */
/************************************************************************/
/* File Description: */
/* */
/* This header file contains declarations for standard Digilent data */
/* types and constants for use with avr-gcc. */
/* */
/************************************************************************/
/* Revision History: */
/* */
/* 01/04/2005(GeneA): created */
/* 04/28/2009(MichaelA): modified to support PIC32MX processor line */
/* */
/************************************************************************/
#if !defined(_STDTYPES_INC)
#define _STDTYPES_INC
#include <stdint.h>
/* ------------------------------------------------------------ */
/* General Type Declarations */
/* ------------------------------------------------------------ */
#define fFalse 0
#define fTrue (!fFalse)
#define BOOL uint32_t
#define BYTE uint8_t
#define HWORD uint16_t
#define WORD uint32_t
#define DWORD uint64_t
/* ------------------------------------------------------------ */
/* Object Class Declarations */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* Variable Declarations */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
#endif
/************************************************************************/