summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/avr/rtems/score/types.h
blob: 707c91d044967a985fe09eb23e35e2b423d69a25 (plain) (blame)
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
57
/*  types.h
 *
 *  This include file contains type definitions pertaining to the Intel
 *  avr processor family.
 *
 *  COPYRIGHT (c) 1989-1999.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#ifndef __rtems_score_types_h
#define __rtems_score_types_h

#ifndef ASM

#include <rtems/stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 *  This section defines the basic types for this processor.
 */

typedef uint8_t  unsigned8;	/* unsigned 8-bit  integer */
typedef uint16_t unsigned16;	/* unsigned 16-bit integer */
typedef uint32_t unsigned32;	/* unsigned 32-bit integer */
typedef uint64_t unsigned64;	/* unsigned 64-bit integer */

typedef int8_t  signed8;	/* 8-bit  signed integer */
typedef int16_t signed16;	/* 16-bit signed integer */
typedef int32_t	signed32;	/* 32-bit signed integer */
typedef int64_t signed64;	/* 64 bit signed integer */

typedef unsigned16     Priority_Bit_map_control;

typedef unsigned32 boolean;     /* Boolean value   */

typedef float          single_precision;     /* single precision float */
typedef double         double_precision;     /* double precision float */

typedef void avr_isr;
typedef void ( *avr_isr_entry )( void );

#ifdef __cplusplus
}
#endif

#endif  /* !ASM */

#endif