Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:40

0001 /*  Blackfin GPIO Registers
0002  *
0003  *  Copyright (c) 2008 Kallisti Labs, Los Gatos, CA, USA
0004  *             written by Allan Hessenflow <allanh@kallisti.com>
0005  *
0006  *  The license and distribution terms for this file may be
0007  *  found in the file LICENSE in this distribution or at
0008  *  http://www.rtems.org/license/LICENSE.
0009  */
0010 
0011 #ifndef _gpioRegs_h_
0012 #define _gpioRegs_h_
0013 
0014 
0015 /* register addresses */
0016 
0017 #define PORTIO_OFFSET                                 0x0000
0018 #define PORTIO_CLEAR_OFFSET                           0x0004
0019 #define PORTIO_SET_OFFSET                             0x0008
0020 #define PORTIO_TOGGLE_OFFSET                          0x000c
0021 #define PORTIO_MASKA_OFFSET                           0x0010
0022 #define PORTIO_MASKA_CLEAR_OFFSET                     0x0014
0023 #define PORTIO_MASKA_SET_OFFSET                       0x0018
0024 #define PORTIO_MASKA_TOGGLE_OFFSET                    0x001c
0025 #define PORTIO_MASKB_OFFSET                           0x0020
0026 #define PORTIO_MASKB_CLEAR_OFFSET                     0x0024
0027 #define PORTIO_MASKB_SET_OFFSET                       0x0028
0028 #define PORTIO_MASKB_TOGGLE_OFFSET                    0x002c
0029 #define PORTIO_DIR_OFFSET                             0x0030
0030 #define PORTIO_POLAR_OFFSET                           0x0034
0031 #define PORTIO_EDGE_OFFSET                            0x0038
0032 #define PORTIO_BOTH_OFFSET                            0x003c
0033 #define PORTIO_INEN_OFFSET                            0x0040
0034 
0035 
0036 #endif /* _gpioRegs_h_ */