Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
51 | osiair | 1 | //*---------------------------------------------------------------------------- |
2 | //* ATMEL Microcontroller Software Support - ROUSSET - |
||
3 | //*---------------------------------------------------------------------------- |
||
4 | //* The software is delivered "AS IS" without warranty or condition of any |
||
5 | //* kind, either express, implied or statutory. This includes without |
||
6 | //* limitation any warranty or condition with respect to merchantability or |
||
7 | //* fitness for any particular purpose, or against the infringements of |
||
8 | //* intellectual property rights of others. |
||
9 | //*---------------------------------------------------------------------------- |
||
10 | //* File Name : std_c.h |
||
11 | //* Object : Standard C Header File |
||
12 | //* |
||
13 | //* 1.0 01/04/00 JCZ : Creation |
||
14 | //*---------------------------------------------------------------------------- |
||
15 | |||
16 | #ifndef std_c_h |
||
17 | #define std_c_h |
||
18 | |||
19 | /*----------------*/ |
||
20 | /* Standard types */ |
||
21 | /*----------------*/ |
||
22 | |||
23 | typedef unsigned char uint8; |
||
24 | typedef unsigned short uint16; |
||
25 | typedef unsigned long uint32; |
||
26 | |||
27 | typedef unsigned char bool; |
||
28 | |||
29 | typedef signed char int8; |
||
30 | typedef signed short int16; |
||
31 | typedef signed long int32; |
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | /* 16-bit Flash Data type */ |
||
37 | typedef volatile unsigned short flash_word ; |
||
38 | |||
39 | /* AT91 Register type */ |
||
40 | typedef volatile unsigned int at91_reg ; |
||
41 | |||
42 | /*----------------*/ |
||
43 | /* Boolean values */ |
||
44 | /*----------------*/ |
||
45 | |||
46 | #define true 1 |
||
47 | #define false 0 |
||
48 | |||
49 | #endif /* std_c_h */ |