428bf49ff4579a6e4fe5ac209ffde0fbb736d002
[fw/openocd] / contrib / loaders / flash / at91sam7x / dcc.h
1 /***************************************************************************
2  *   Copyright (C) 2007 by Pavel Chromy                                    *
3  *   chromy@asix.cz                                                        *
4  *                                                                         *
5  *   This program is free software; you can redistribute it and/or modify  *
6  *   it under the terms of the GNU General Public License as published by  *
7  *   the Free Software Foundation; either version 2 of the License, or     *
8  *   (at your option) any later version.                                   *
9  *                                                                         *
10  *   This program is distributed in the hope that it will be useful,       *
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13  *   GNU General Public License for more details.                          *
14  *                                                                         *
15  *   You should have received a copy of the GNU General Public License     *
16  *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
17  ***************************************************************************/
18 #ifndef dccH
19 #define dccH
20
21 #include "platform.h"
22
23 /* debug channel read (debugger->MCU) */
24 uint32 dcc_rd(void);
25
26 /* debug channel write (MCU->debugger) */
27 int dcc_wr(uint32 data);
28
29 #endif