⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pio.inc

📁 有关ATMEL AT91系列CPU的驱动函数库
💻 INC
字号:
#------------------------------------------------------------------------------
#-         ATMEL Microcontroller Software Support  -  ROUSSET  -
#------------------------------------------------------------------------------
# The software is delivered "AS IS" without warranty or condition of any
# kind, either express, implied or statutory. This includes without
# limitation any warranty or condition with respect to merchantability or
# fitness for any particular purpose, or against the infringements of
# intellectual property rights of others.
#------------------------------------------------------------------------------
#- File Name            : pio.inc
#- Object               : Assembler PIO Controller Definition File.
#-
#- 1.0 01/04/00 JCZ     : Creation
#------------------------------------------------------------------------------

#------------------------------------------------------------
# Parallel IO Controller User Interface Structure Definition
#------------------------------------------------------------
.equ	PIO_PER,		0x00	       /* PIO Enable Register */
.equ	PIO_PDR,        0x04           /* PIO Disable Register */
.equ	PIO_PSR,       	0x08           /* PIO Status Register */
#;                     	0x0C           /* Reserved 0 */
.equ	PIO_OER,        0x10           /* Output Enable Register */
.equ	PIO_ODR,        0x14           /* Output Disable Register */
.equ	PIO_OSR,        0x18           /* Output Status Register */
#;                      0x1C           /* Reserved 1 */
.equ	PIO_IFER,       0x20           /* Input Filter Enable Register */
.equ	PIO_IFDR,       0x24           /* Input Filter Disable Register */
.equ	PIO_IFSR,       0x28           /* Input Filter Status Register */
#;                      0x2C           /* Reserved 2 */
.equ	PIO_SODR,       0x30           /* Set Output Data Register */
.equ	PIO_CODR,       0x34           /* Clear Output Data Register */
.equ	PIO_ODSR,       0x38           /* Output Data Status Register */
.equ	PIO_PDSR,       0x3C           /* Pin Data Status Register */
.equ	PIO_IER,        0x40           /* Interrupt Enable Register */
.equ	PIO_IDR,        0x44           /* Interrupt Disable Register */
.equ	PIO_IMR,        0x48           /* Interrupt Mask Register */
.equ	PIO_ISR,        0x4C           /* Interrupt Status Register */
.equ	PIO_MDER,       0x50           /* Interrupt Enable Register */
.equ	PIO_MDDR,       0x54           /* Interrupt Disable Register */
.equ	PIO_MDSR,       0x58           /* Interrupt Status Register */

#-------------------------------------------------
#- PIO Controller Descriptor Structure Definition
#-------------------------------------------------
.equ	PioBase,             0x00          /* Peripheral base address */
.equ	AsmPioHandler,       0x04          /* Assembly interrupt handler */
.equ	PioHandlerPt,        0x08
.equ	PeriphId,            0x09          /* Peripheral Identifier */
.equ	PioNumber,           0x0A

#                END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -