summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/include/types.h
blob: abcd99f9b84db2e28942d195b8ab0dbbcf5932ee (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
/*
 * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com>
 *
 * 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
 */

#ifndef BSP_NDS_TYPES_H_
#define BSP_NDS_TYPES_H_

#include <stdint.h>

/*
 * volatile types for registers.
 */

typedef volatile char vint8_t;
typedef volatile short int vint16_t;
typedef volatile int vint32_t;

typedef volatile unsigned char vuint8_t;
typedef volatile unsigned short int vuint16_t;
typedef volatile unsigned int vuint32_t;

#endif