Nut/OS  5.0.5
API Reference
at91_dbgu.h
Go to the documentation of this file.
00001 #ifndef _ARCH_ARM_AT91_DBGU_H_
00002 #define _ARCH_ARM_AT91_DBGU_H_
00003 
00004 /*
00005  * Copyright (C) 2005-2006 by egnite Software GmbH. All rights reserved.
00006  *
00007  * Redistribution and use in source and binary forms, with or without
00008  * modification, are permitted provided that the following conditions
00009  * are met:
00010  *
00011  * 1. Redistributions of source code must retain the above copyright
00012  *    notice, this list of conditions and the following disclaimer.
00013  * 2. Redistributions in binary form must reproduce the above copyright
00014  *    notice, this list of conditions and the following disclaimer in the
00015  *    documentation and/or other materials provided with the distribution.
00016  * 3. Neither the name of the copyright holders nor the names of
00017  *    contributors may be used to endorse or promote products derived
00018  *    from this software without specific prior written permission.
00019  *
00020  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00021  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00022  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00023  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00024  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00025  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00026  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
00027  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
00028  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00029  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
00030  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00031  * SUCH DAMAGE.
00032  *
00033  * For additional information see http://www.ethernut.de/
00034  */
00035 
00057 
00058 #define DBGU_CR     (DBGU_BASE + US_CR_OFF)     
00059 #define DBGU_MR     (DBGU_BASE + US_MR_OFF)     
00060 #define DBGU_IER    (DBGU_BASE + US_IER_OFF)    
00061 #define DBGU_IDR    (DBGU_BASE + US_IDR_OFF)    
00062 #define DBGU_IMR    (DBGU_BASE + US_IMR_OFF)    
00063 #define DBGU_SR     (DBGU_BASE + US_CSR_OFF)    
00064 #define DBGU_RHR    (DBGU_BASE + US_RHR_OFF)    
00065 #define DBGU_THR    (DBGU_BASE + US_THR_OFF)    
00066 #define DBGU_BRGR   (DBGU_BASE + US_BRGR_OFF)   
00068 #define DBGU_CIDR_OFF           0x00000040      
00069 #define DBGU_CIDR   (DBGU_BASE + DBGU_CIDR_OFF) 
00071 #define DBGU_EXID_OFF           0x00000044      
00072 #define DBGU_EXID   (DBGU_BASE + DBGU_EXID_OFF) 
00074 #define DBGU_FNR_OFF            0x00000048      
00075 #define DBGU_FNR    (DBGU_BASE + DBGU_FNR_OFF)  
00077 #if defined(DBGU_HAS_PDC)
00078 #define DBGU_RPR    (DBGU_BASE + PERIPH_RPR_OFF)    
00079 #define DBGU_RCR    (DBGU_BASE + PERIPH_RCR_OFF)    
00080 #define DBGU_TPR    (DBGU_BASE + PERIPH_TPR_OFF)    
00081 #define DBGU_TCR    (DBGU_BASE + PERIPH_TCR_OFF)    
00082 #define DBGU_RNPR   (DBGU_BASE + PERIPH_RNPR_OFF)   
00083 #define DBGU_RNCR   (DBGU_BASE + PERIPH_RNCR_OFF)   
00084 #define DBGU_TNPR   (DBGU_BASE + PERIPH_TNPR_OFF)   
00085 #define DBGU_TNCR   (DBGU_BASE + PERIPH_TNCR_OFF)   
00086 #define DBGU_PTCR   (DBGU_BASE + PERIPH_PTCR_OFF)   
00087 #define DBGU_PTSR   (DBGU_BASE + PERIPH_PTSR_OFF)   
00088 #endif
00089 
00092 #endif                          /* _ARCH_ARM_AT91_DBGU_H_ */