📄 at91sam9261.h
字号:
/* ---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support - ROUSSET - * ---------------------------------------------------------------------------- * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ---------------------------------------------------------------------------- * File Name : AT91SAM9261.h * Object : AT91SAM9261 definitions * Generated : AT91 SW Application Group 03/30/2005 (17:05:06) * * ----------------------------------------------------------------------------*/#ifndef AT91SAM9261_H#define AT91SAM9261_Htypedef volatile unsigned int AT91_REG;/* Hardware register definition *//* ***************************************************************************** * SOFTWARE API DEFINITION FOR System Peripherals * ***************************************************************************** */typedef struct _AT91S_SYS { AT91_REG SDRAMC_MR; /* SDRAM Controller Mode Register */ AT91_REG SDRAMC_TR; /* SDRAM Controller Refresh Timer Register */ AT91_REG SDRAMC_CR; /* SDRAM Controller Configuration Register */ AT91_REG SDRAMC_HSR; /* SDRAM Controller High Speed Register */ AT91_REG SDRAMC_LPR; /* SDRAM Controller Low Power Register */ AT91_REG SDRAMC_IER; /* SDRAM Controller Interrupt Enable Register */ AT91_REG SDRAMC_IDR; /* SDRAM Controller Interrupt Disable Register */ AT91_REG SDRAMC_IMR; /* SDRAM Controller Interrupt Mask Register */ AT91_REG SDRAMC_ISR; /* SDRAM Controller Interrupt Mask Register */ AT91_REG SDRAMC_MDR; /* SDRAM Memory Device Register */ AT91_REG Reserved0[118]; AT91_REG SMC_SETUP0; /* Setup Register for CS 0 */ AT91_REG SMC_PULSE0; /* Pulse Register for CS 0 */ AT91_REG SMC_CYCLE0; /* Cycle Register for CS 0 */ AT91_REG SMC_CTRL0; /* Control Register for CS 0 */ AT91_REG SMC_SETUP1; /* Setup Register for CS 1 */ AT91_REG SMC_PULSE1; /* Pulse Register for CS 1 */ AT91_REG SMC_CYCLE1; /* Cycle Register for CS 1 */ AT91_REG SMC_CTRL1; /* Control Register for CS 1 */ AT91_REG SMC_SETUP2; /* Setup Register for CS 2 */ AT91_REG SMC_PULSE2; /* Pulse Register for CS 2 */ AT91_REG SMC_CYCLE2; /* Cycle Register for CS 2 */ AT91_REG SMC_CTRL2; /* Control Register for CS 2 */ AT91_REG SMC_SETUP3; /* Setup Register for CS 3 */ AT91_REG SMC_PULSE3; /* Pulse Register for CS 3 */ AT91_REG SMC_CYCLE3; /* Cycle Register for CS 3 */ AT91_REG SMC_CTRL3; /* Control Register for CS 3 */ AT91_REG SMC_SETUP4; /* Setup Register for CS 4 */ AT91_REG SMC_PULSE4; /* Pulse Register for CS 4 */ AT91_REG SMC_CYCLE4; /* Cycle Register for CS 4 */ AT91_REG SMC_CTRL4; /* Control Register for CS 4 */ AT91_REG SMC_SETUP5; /* Setup Register for CS 5 */ AT91_REG SMC_PULSE5; /* Pulse Register for CS 5 */ AT91_REG SMC_CYCLE5; /* Cycle Register for CS 5 */ AT91_REG SMC_CTRL5; /* Control Register for CS 5 */ AT91_REG SMC_SETUP6; /* Setup Register for CS 6 */ AT91_REG SMC_PULSE6; /* Pulse Register for CS 6 */ AT91_REG SMC_CYCLE6; /* Cycle Register for CS 6 */ AT91_REG SMC_CTRL6; /* Control Register for CS 6 */ AT91_REG SMC_SETUP7; /* Setup Register for CS 7 */ AT91_REG SMC_PULSE7; /* Pulse Register for CS 7 */ AT91_REG SMC_CYCLE7; /* Cycle Register for CS 7 */ AT91_REG SMC_CTRL7; /* Control Register for CS 7 */ AT91_REG Reserved1[96]; AT91_REG MATRIX_MCFG; /* Master Configuration Register */ AT91_REG MATRIX_SCFG0; /* Slave Configuration Register 0 */ AT91_REG MATRIX_SCFG1; /* Slave Configuration Register 1 */ AT91_REG MATRIX_SCFG2; /* Slave Configuration Register 2 */ AT91_REG MATRIX_SCFG3; /* Slave Configuration Register 3 */ AT91_REG MATRIX_SCFG4; /* Slave Configuration Register 4 */ AT91_REG Reserved2[3]; AT91_REG MATRIX_TCMR; /* Slave 0 Special Function Register */ AT91_REG Reserved3[2]; AT91_REG MATRIX_EBICSA; /* Slave 3 Special Function Register */ AT91_REG MATRIX_USBPCR; /* Slave 4 Special Function Register */ AT91_REG Reserved4[3]; AT91_REG MATRIX_VERSION; /* Version Register */ AT91_REG Reserved5[110]; AT91_REG AIC_SMR[32]; /* Source Mode Register */ AT91_REG AIC_SVR[32]; /* Source Vector Register */ AT91_REG AIC_IVR; /* IRQ Vector Register */ AT91_REG AIC_FVR; /* FIQ Vector Register */ AT91_REG AIC_ISR; /* Interrupt Status Register */ AT91_REG AIC_IPR; /* Interrupt Pending Register */ AT91_REG AIC_IMR; /* Interrupt Mask Register */ AT91_REG AIC_CISR; /* Core Interrupt Status Register */ AT91_REG Reserved6[2]; AT91_REG AIC_IECR; /* Interrupt Enable Command Register */ AT91_REG AIC_IDCR; /* Interrupt Disable Command Register */ AT91_REG AIC_ICCR; /* Interrupt Clear Command Register */ AT91_REG AIC_ISCR; /* Interrupt Set Command Register */ AT91_REG AIC_EOICR; /* End of Interrupt Command Register */ AT91_REG AIC_SPU; /* Spurious Vector Register */ AT91_REG AIC_DCR; /* Debug Control Register (Protect) */ AT91_REG Reserved7[1]; AT91_REG AIC_FFER; /* Fast Forcing Enable Register */ AT91_REG AIC_FFDR; /* Fast Forcing Disable Register */ AT91_REG AIC_FFSR; /* Fast Forcing Status Register */ AT91_REG Reserved8[45]; AT91_REG DBGU_CR; /* Control Register */ AT91_REG DBGU_MR; /* Mode Register */ AT91_REG DBGU_IER; /* Interrupt Enable Register */ AT91_REG DBGU_IDR; /* Interrupt Disable Register */ AT91_REG DBGU_IMR; /* Interrupt Mask Register */ AT91_REG DBGU_CSR; /* Channel Status Register */ AT91_REG DBGU_RHR; /* Receiver Holding Register */ AT91_REG DBGU_THR; /* Transmitter Holding Register */ AT91_REG DBGU_BRGR; /* Baud Rate Generator Register */ AT91_REG Reserved9[7]; AT91_REG DBGU_CIDR; /* Chip ID Register */ AT91_REG DBGU_EXID; /* Chip ID Extension Register */ AT91_REG DBGU_FNTR; /* Force NTRST Register */ AT91_REG Reserved10[45]; AT91_REG DBGU_RPR; /* Receive Pointer Register */ AT91_REG DBGU_RCR; /* Receive Counter Register */ AT91_REG DBGU_TPR; /* Transmit Pointer Register */ AT91_REG DBGU_TCR; /* Transmit Counter Register */ AT91_REG DBGU_RNPR; /* Receive Next Pointer Register */ AT91_REG DBGU_RNCR; /* Receive Next Counter Register */ AT91_REG DBGU_TNPR; /* Transmit Next Pointer Register */ AT91_REG DBGU_TNCR; /* Transmit Next Counter Register */ AT91_REG DBGU_PTCR; /* PDC Transfer Control Register */ AT91_REG DBGU_PTSR; /* PDC Transfer Status Register */ AT91_REG Reserved11[54]; AT91_REG PIOA_PER; /* PIO Enable Register */ AT91_REG PIOA_PDR; /* PIO Disable Register */ AT91_REG PIOA_PSR; /* PIO Status Register */ AT91_REG Reserved12[1]; AT91_REG PIOA_OER; /* Output Enable Register */ AT91_REG PIOA_ODR; /* Output Disable Registerr */ AT91_REG PIOA_OSR; /* Output Status Register */ AT91_REG Reserved13[1]; AT91_REG PIOA_IFER; /* Input Filter Enable Register */ AT91_REG PIOA_IFDR; /* Input Filter Disable Register */ AT91_REG PIOA_IFSR; /* Input Filter Status Register */ AT91_REG Reserved14[1]; AT91_REG PIOA_SODR; /* Set Output Data Register */ AT91_REG PIOA_CODR; /* Clear Output Data Register */ AT91_REG PIOA_ODSR; /* Output Data Status Register */ AT91_REG PIOA_PDSR; /* Pin Data Status Register */ AT91_REG PIOA_IER; /* Interrupt Enable Register */ AT91_REG PIOA_IDR; /* Interrupt Disable Register */ AT91_REG PIOA_IMR; /* Interrupt Mask Register */ AT91_REG PIOA_ISR; /* Interrupt Status Register */ AT91_REG PIOA_MDER; /* Multi-driver Enable Register */ AT91_REG PIOA_MDDR; /* Multi-driver Disable Register */ AT91_REG PIOA_MDSR; /* Multi-driver Status Register */ AT91_REG Reserved15[1]; AT91_REG PIOA_PPUDR; /* Pull-up Disable Register */ AT91_REG PIOA_PPUER; /* Pull-up Enable Register */ AT91_REG PIOA_PPUSR; /* Pull-up Status Register */ AT91_REG Reserved16[1]; AT91_REG PIOA_ASR; /* Select A Register */ AT91_REG PIOA_BSR; /* Select B Register */ AT91_REG PIOA_ABSR; /* AB Select Status Register */ AT91_REG Reserved17[9]; AT91_REG PIOA_OWER; /* Output Write Enable Register */ AT91_REG PIOA_OWDR; /* Output Write Disable Register */ AT91_REG PIOA_OWSR; /* Output Write Status Register */ AT91_REG Reserved18[85]; AT91_REG PIOB_PER; /* PIO Enable Register */ AT91_REG PIOB_PDR; /* PIO Disable Register */ AT91_REG PIOB_PSR; /* PIO Status Register */ AT91_REG Reserved19[1]; AT91_REG PIOB_OER; /* Output Enable Register */ AT91_REG PIOB_ODR; /* Output Disable Registerr */ AT91_REG PIOB_OSR; /* Output Status Register */ AT91_REG Reserved20[1]; AT91_REG PIOB_IFER; /* Input Filter Enable Register */ AT91_REG PIOB_IFDR; /* Input Filter Disable Register */ AT91_REG PIOB_IFSR; /* Input Filter Status Register */ AT91_REG Reserved21[1]; AT91_REG PIOB_SODR; /* Set Output Data Register */ AT91_REG PIOB_CODR; /* Clear Output Data Register */ AT91_REG PIOB_ODSR; /* Output Data Status Register */ AT91_REG PIOB_PDSR; /* Pin Data Status Register */ AT91_REG PIOB_IER; /* Interrupt Enable Register */ AT91_REG PIOB_IDR; /* Interrupt Disable Register */ AT91_REG PIOB_IMR; /* Interrupt Mask Register */ AT91_REG PIOB_ISR; /* Interrupt Status Register */ AT91_REG PIOB_MDER; /* Multi-driver Enable Register */ AT91_REG PIOB_MDDR; /* Multi-driver Disable Register */ AT91_REG PIOB_MDSR; /* Multi-driver Status Register */ AT91_REG Reserved22[1]; AT91_REG PIOB_PPUDR; /* Pull-up Disable Register */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -