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

📄 ioat91sam7a3.ddf

📁 1、程序目的:介绍AT91SAM7S256-EK TWI的基本用法: 2、 功能说明:通过TWI实现I2C
💻 DDF
📖 第 1 页 / 共 5 页
字号:
sfr = "PIOA_OWSR", 	"Memory", 0xfffff4a8, 4, base=16
; ========== Register definition for PIOB peripheral ========== 
sfr = "PIOB_PER", 	"Memory", 0xfffff600, 4, base=16
sfr = "PIOB_PDR", 	"Memory", 0xfffff604, 4, base=16
sfr = "PIOB_PSR", 	"Memory", 0xfffff608, 4, base=16
sfr = "PIOB_OER", 	"Memory", 0xfffff610, 4, base=16
sfr = "PIOB_ODR", 	"Memory", 0xfffff614, 4, base=16
sfr = "PIOB_OSR", 	"Memory", 0xfffff618, 4, base=16
sfr = "PIOB_IFER", 	"Memory", 0xfffff620, 4, base=16
sfr = "PIOB_IFDR", 	"Memory", 0xfffff624, 4, base=16
sfr = "PIOB_IFSR", 	"Memory", 0xfffff628, 4, base=16
sfr = "PIOB_SODR", 	"Memory", 0xfffff630, 4, base=16
sfr = "PIOB_CODR", 	"Memory", 0xfffff634, 4, base=16
sfr = "PIOB_ODSR", 	"Memory", 0xfffff638, 4, base=16
sfr = "PIOB_PDSR", 	"Memory", 0xfffff63c, 4, base=16
sfr = "PIOB_IER", 	"Memory", 0xfffff640, 4, base=16
sfr = "PIOB_IDR", 	"Memory", 0xfffff644, 4, base=16
sfr = "PIOB_IMR", 	"Memory", 0xfffff648, 4, base=16
sfr = "PIOB_ISR", 	"Memory", 0xfffff64c, 4, base=16
sfr = "PIOB_MDER", 	"Memory", 0xfffff650, 4, base=16
sfr = "PIOB_MDDR", 	"Memory", 0xfffff654, 4, base=16
sfr = "PIOB_MDSR", 	"Memory", 0xfffff658, 4, base=16
sfr = "PIOB_PPUDR", 	"Memory", 0xfffff660, 4, base=16
sfr = "PIOB_PPUER", 	"Memory", 0xfffff664, 4, base=16
sfr = "PIOB_PPUSR", 	"Memory", 0xfffff668, 4, base=16
sfr = "PIOB_ASR", 	"Memory", 0xfffff670, 4, base=16
sfr = "PIOB_BSR", 	"Memory", 0xfffff674, 4, base=16
sfr = "PIOB_ABSR", 	"Memory", 0xfffff678, 4, base=16
sfr = "PIOB_OWER", 	"Memory", 0xfffff6a0, 4, base=16
sfr = "PIOB_OWDR", 	"Memory", 0xfffff6a4, 4, base=16
sfr = "PIOB_OWSR", 	"Memory", 0xfffff6a8, 4, base=16
; ========== Register definition for CKGR peripheral ========== 
sfr = "CKGR_MOR", 	"Memory", 0xfffffc20, 4, base=16
sfr = "CKGR_MOR.MOSCEN", 	"Memory", 0xfffffc20, 4, base=16, bitRange=0
sfr = "CKGR_MOR.OSCBYPASS", 	"Memory", 0xfffffc20, 4, base=16, bitRange=1
sfr = "CKGR_MOR.OSCOUNT", 	"Memory", 0xfffffc20, 4, base=16, bitRange=8-15
sfr = "CKGR_MCFR", 	"Memory", 0xfffffc24, 4, base=16
sfr = "CKGR_MCFR.MAINF", 	"Memory", 0xfffffc24, 4, base=16, bitRange=0-15
sfr = "CKGR_MCFR.MAINRDY", 	"Memory", 0xfffffc24, 4, base=16, bitRange=16
sfr = "CKGR_PLLR", 	"Memory", 0xfffffc2c, 4, base=16
sfr = "CKGR_PLLR.DIV", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=0-7
sfr = "CKGR_PLLR.PLLCOUNT", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=8-13
sfr = "CKGR_PLLR.OUT", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=14-15
sfr = "CKGR_PLLR.MUL", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=16-26
sfr = "CKGR_PLLR.USBDIV", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=28-29
; ========== Register definition for PMC peripheral ========== 
sfr = "PMC_SCER", 	"Memory", 0xfffffc00, 4, base=16
sfr = "PMC_SCER.PCK", 	"Memory", 0xfffffc00, 4, base=16, bitRange=0
sfr = "PMC_SCER.UDP", 	"Memory", 0xfffffc00, 4, base=16, bitRange=7
sfr = "PMC_SCER.PCK0", 	"Memory", 0xfffffc00, 4, base=16, bitRange=8
sfr = "PMC_SCER.PCK1", 	"Memory", 0xfffffc00, 4, base=16, bitRange=9
sfr = "PMC_SCER.PCK2", 	"Memory", 0xfffffc00, 4, base=16, bitRange=10
sfr = "PMC_SCER.PCK3", 	"Memory", 0xfffffc00, 4, base=16, bitRange=11
sfr = "PMC_SCDR", 	"Memory", 0xfffffc04, 4, base=16
sfr = "PMC_SCDR.PCK", 	"Memory", 0xfffffc04, 4, base=16, bitRange=0
sfr = "PMC_SCDR.UDP", 	"Memory", 0xfffffc04, 4, base=16, bitRange=7
sfr = "PMC_SCDR.PCK0", 	"Memory", 0xfffffc04, 4, base=16, bitRange=8
sfr = "PMC_SCDR.PCK1", 	"Memory", 0xfffffc04, 4, base=16, bitRange=9
sfr = "PMC_SCDR.PCK2", 	"Memory", 0xfffffc04, 4, base=16, bitRange=10
sfr = "PMC_SCDR.PCK3", 	"Memory", 0xfffffc04, 4, base=16, bitRange=11
sfr = "PMC_SCSR", 	"Memory", 0xfffffc08, 4, base=16
sfr = "PMC_SCSR.PCK", 	"Memory", 0xfffffc08, 4, base=16, bitRange=0
sfr = "PMC_SCSR.UDP", 	"Memory", 0xfffffc08, 4, base=16, bitRange=7
sfr = "PMC_SCSR.PCK0", 	"Memory", 0xfffffc08, 4, base=16, bitRange=8
sfr = "PMC_SCSR.PCK1", 	"Memory", 0xfffffc08, 4, base=16, bitRange=9
sfr = "PMC_SCSR.PCK2", 	"Memory", 0xfffffc08, 4, base=16, bitRange=10
sfr = "PMC_SCSR.PCK3", 	"Memory", 0xfffffc08, 4, base=16, bitRange=11
sfr = "PMC_PCER", 	"Memory", 0xfffffc10, 4, base=16
sfr = "PMC_PCDR", 	"Memory", 0xfffffc14, 4, base=16
sfr = "PMC_PCSR", 	"Memory", 0xfffffc18, 4, base=16
sfr = "PMC_MOR", 	"Memory", 0xfffffc20, 4, base=16
sfr = "PMC_MOR.MOSCEN", 	"Memory", 0xfffffc20, 4, base=16, bitRange=0
sfr = "PMC_MOR.OSCBYPASS", 	"Memory", 0xfffffc20, 4, base=16, bitRange=1
sfr = "PMC_MOR.OSCOUNT", 	"Memory", 0xfffffc20, 4, base=16, bitRange=8-15
sfr = "PMC_MCFR", 	"Memory", 0xfffffc24, 4, base=16
sfr = "PMC_MCFR.MAINF", 	"Memory", 0xfffffc24, 4, base=16, bitRange=0-15
sfr = "PMC_MCFR.MAINRDY", 	"Memory", 0xfffffc24, 4, base=16, bitRange=16
sfr = "PMC_PLLR", 	"Memory", 0xfffffc2c, 4, base=16
sfr = "PMC_PLLR.DIV", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=0-7
sfr = "PMC_PLLR.PLLCOUNT", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=8-13
sfr = "PMC_PLLR.OUT", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=14-15
sfr = "PMC_PLLR.MUL", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=16-26
sfr = "PMC_PLLR.USBDIV", 	"Memory", 0xfffffc2c, 4, base=16, bitRange=28-29
sfr = "PMC_MCKR", 	"Memory", 0xfffffc30, 4, base=16
sfr = "PMC_MCKR.CSS", 	"Memory", 0xfffffc30, 4, base=16, bitRange=0-1
sfr = "PMC_MCKR.PRES", 	"Memory", 0xfffffc30, 4, base=16, bitRange=2-4
sfr = "PMC_PCKR", 	"Memory", 0xfffffc40, 4, base=16
sfr = "PMC_PCKR.CSS", 	"Memory", 0xfffffc40, 4, base=16, bitRange=0-1
sfr = "PMC_PCKR.PRES", 	"Memory", 0xfffffc40, 4, base=16, bitRange=2-4
sfr = "PMC_IER", 	"Memory", 0xfffffc60, 4, base=16
sfr = "PMC_IER.MOSCS", 	"Memory", 0xfffffc60, 4, base=16, bitRange=0
sfr = "PMC_IER.LOCK", 	"Memory", 0xfffffc60, 4, base=16, bitRange=2
sfr = "PMC_IER.MCKRDY", 	"Memory", 0xfffffc60, 4, base=16, bitRange=3
sfr = "PMC_IER.PCK0RDY", 	"Memory", 0xfffffc60, 4, base=16, bitRange=8
sfr = "PMC_IER.PCK1RDY", 	"Memory", 0xfffffc60, 4, base=16, bitRange=9
sfr = "PMC_IER.PCK2RDY", 	"Memory", 0xfffffc60, 4, base=16, bitRange=10
sfr = "PMC_IER.PCK3RDY", 	"Memory", 0xfffffc60, 4, base=16, bitRange=11
sfr = "PMC_IDR", 	"Memory", 0xfffffc64, 4, base=16
sfr = "PMC_IDR.MOSCS", 	"Memory", 0xfffffc64, 4, base=16, bitRange=0
sfr = "PMC_IDR.LOCK", 	"Memory", 0xfffffc64, 4, base=16, bitRange=2
sfr = "PMC_IDR.MCKRDY", 	"Memory", 0xfffffc64, 4, base=16, bitRange=3
sfr = "PMC_IDR.PCK0RDY", 	"Memory", 0xfffffc64, 4, base=16, bitRange=8
sfr = "PMC_IDR.PCK1RDY", 	"Memory", 0xfffffc64, 4, base=16, bitRange=9
sfr = "PMC_IDR.PCK2RDY", 	"Memory", 0xfffffc64, 4, base=16, bitRange=10
sfr = "PMC_IDR.PCK3RDY", 	"Memory", 0xfffffc64, 4, base=16, bitRange=11
sfr = "PMC_SR", 	"Memory", 0xfffffc68, 4, base=16
sfr = "PMC_SR.MOSCS", 	"Memory", 0xfffffc68, 4, base=16, bitRange=0
sfr = "PMC_SR.LOCK", 	"Memory", 0xfffffc68, 4, base=16, bitRange=2
sfr = "PMC_SR.MCKRDY", 	"Memory", 0xfffffc68, 4, base=16, bitRange=3
sfr = "PMC_SR.PCK0RDY", 	"Memory", 0xfffffc68, 4, base=16, bitRange=8
sfr = "PMC_SR.PCK1RDY", 	"Memory", 0xfffffc68, 4, base=16, bitRange=9
sfr = "PMC_SR.PCK2RDY", 	"Memory", 0xfffffc68, 4, base=16, bitRange=10
sfr = "PMC_SR.PCK3RDY", 	"Memory", 0xfffffc68, 4, base=16, bitRange=11
sfr = "PMC_IMR", 	"Memory", 0xfffffc6c, 4, base=16
sfr = "PMC_IMR.MOSCS", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=0
sfr = "PMC_IMR.LOCK", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=2
sfr = "PMC_IMR.MCKRDY", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=3
sfr = "PMC_IMR.PCK0RDY", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=8
sfr = "PMC_IMR.PCK1RDY", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=9
sfr = "PMC_IMR.PCK2RDY", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=10
sfr = "PMC_IMR.PCK3RDY", 	"Memory", 0xfffffc6c, 4, base=16, bitRange=11
; ========== Register definition for RSTC peripheral ========== 
sfr = "RSTC_RCR", 	"Memory", 0xfffffd00, 4, base=16
sfr = "RSTC_RCR.PROCRST", 	"Memory", 0xfffffd00, 4, base=16, bitRange=0
sfr = "RSTC_RCR.PERRST", 	"Memory", 0xfffffd00, 4, base=16, bitRange=2
sfr = "RSTC_RCR.EXTRST", 	"Memory", 0xfffffd00, 4, base=16, bitRange=3
sfr = "RSTC_RCR.KEY", 	"Memory", 0xfffffd00, 4, base=16, bitRange=24-31
sfr = "RSTC_RSR", 	"Memory", 0xfffffd04, 4, base=16
sfr = "RSTC_RSR.URSTS", 	"Memory", 0xfffffd04, 4, base=16, bitRange=0
sfr = "RSTC_RSR.RSTTYP", 	"Memory", 0xfffffd04, 4, base=16, bitRange=8-10
sfr = "RSTC_RSR.NRSTL", 	"Memory", 0xfffffd04, 4, base=16, bitRange=16
sfr = "RSTC_RSR.SRCMP", 	"Memory", 0xfffffd04, 4, base=16, bitRange=17
sfr = "RSTC_RMR", 	"Memory", 0xfffffd08, 4, base=16
sfr = "RSTC_RMR.URSTEN", 	"Memory", 0xfffffd08, 4, base=16, bitRange=0
sfr = "RSTC_RMR.URSTIEN", 	"Memory", 0xfffffd08, 4, base=16, bitRange=4
sfr = "RSTC_RMR.ERSTL", 	"Memory", 0xfffffd08, 4, base=16, bitRange=8-11
sfr = "RSTC_RMR.KEY", 	"Memory", 0xfffffd08, 4, base=16, bitRange=24-31
; ========== Register definition for SHDWC peripheral ========== 
sfr = "SHDWC_SHCR", 	"Memory", 0xfffffd10, 4, base=16
sfr = "SHDWC_SHCR.SHDW", 	"Memory", 0xfffffd10, 4, base=16, bitRange=0
sfr = "SHDWC_SHCR.KEY", 	"Memory", 0xfffffd10, 4, base=16, bitRange=24-31
sfr = "SHDWC_SHMR", 	"Memory", 0xfffffd14, 4, base=16
sfr = "SHDWC_SHMR.WKMODE0", 	"Memory", 0xfffffd14, 4, base=16, bitRange=0-1
sfr = "SHDWC_SHMR.CPTWK0", 	"Memory", 0xfffffd14, 4, base=16, bitRange=4-7
sfr = "SHDWC_SHMR.WKMODE1", 	"Memory", 0xfffffd14, 4, base=16, bitRange=8-9
sfr = "SHDWC_SHMR.CPTWK1", 	"Memory", 0xfffffd14, 4, base=16, bitRange=12-15
sfr = "SHDWC_SHMR.RTTWKEN", 	"Memory", 0xfffffd14, 4, base=16, bitRange=16
sfr = "SHDWC_SHSR", 	"Memory", 0xfffffd18, 4, base=16
sfr = "SHDWC_SHSR.WAKEUP0", 	"Memory", 0xfffffd18, 4, base=16, bitRange=0
sfr = "SHDWC_SHSR.WAKEUP1", 	"Memory", 0xfffffd18, 4, base=16, bitRange=1
sfr = "SHDWC_SHSR.FWKUP", 	"Memory", 0xfffffd18, 4, base=16, bitRange=2
sfr = "SHDWC_SHSR.RTTWK", 	"Memory", 0xfffffd18, 4, base=16, bitRange=16
; ========== Register definition for RTTC peripheral ========== 
sfr = "RTTC_RTMR", 	"Memory", 0xfffffd20, 4, base=16
sfr = "RTTC_RTMR.RTPRES", 	"Memory", 0xfffffd20, 4, base=16, bitRange=0-15
sfr = "RTTC_RTMR.ALMIEN", 	"Memory", 0xfffffd20, 4, base=16, bitRange=16
sfr = "RTTC_RTMR.RTTINCIEN", 	"Memory", 0xfffffd20, 4, base=16, bitRange=17
sfr = "RTTC_RTMR.RTTRST", 	"Memory", 0xfffffd20, 4, base=16, bitRange=18
sfr = "RTTC_RTAR", 	"Memory", 0xfffffd24, 4, base=16
sfr = "RTTC_RTAR.ALMV", 	"Memory", 0xfffffd24, 4, base=16, bitRange=0-31
sfr = "RTTC_RTVR", 	"Memory", 0xfffffd28, 4, base=16
sfr = "RTTC_RTVR.CRTV", 	"Memory", 0xfffffd28, 4, base=16, bitRange=0-31
sfr = "RTTC_RTSR", 	"Memory", 0xfffffd2c, 4, base=16
sfr = "RTTC_RTSR.ALMS", 	"Memory", 0xfffffd2c, 4, base=16, bitRange=0
sfr = "RTTC_RTSR.RTTINC", 	"Memory", 0xfffffd2c, 4, base=16, bitRange=1
; ========== Register definition for PITC peripheral ========== 
sfr = "PITC_PIMR", 	"Memory", 0xfffffd30, 4, base=16
sfr = "PITC_PIMR.PIV", 	"Memory", 0xfffffd30, 4, base=16, bitRange=0-19
sfr = "PITC_PIMR.PITEN", 	"Memory", 0xfffffd30, 4, base=16, bitRange=24
sfr = "PITC_PIMR.PITIEN", 	"Memory", 0xfffffd30, 4, base=16, bitRange=25
sfr = "PITC_PISR", 	"Memory", 0xfffffd34, 4, base=16
sfr = "PITC_PISR.PITS", 	"Memory", 0xfffffd34, 4, base=16, bitRange=0
sfr = "PITC_PIVR", 	"Memory", 0xfffffd38, 4, base=16
sfr = "PITC_PIVR.CPIV", 	"Memory", 0xfffffd38, 4, base=16, bitRange=0-19
sfr = "PITC_PIVR.PICNT", 	"Memory", 0xfffffd38, 4, base=16, bitRange=20-31
sfr = "PITC_PIIR", 	"Memory", 0xfffffd3c, 4, base=16
sfr = "PITC_PIIR.CPIV", 	"Memory", 0xfffffd3c, 4, base=16, bitRange=0-19
sfr = "PITC_PIIR.PICNT", 	"Memory", 0xfffffd3c, 4, base=16, bitRange=20-31
; ========== Register definition for WDTC peripheral ========== 
sfr = "WDTC_WDCR", 	"Memory", 0xfffffd40, 4, base=16
sfr = "WDTC_WDCR.WDRSTT", 	"Memory", 0xfffffd40, 4, base=16, bitRange=0
sfr = "WDTC_WDCR.KEY", 	"Memory", 0xfffffd40, 4, base=16, bitRange=24-31
sfr = "WDTC_WDMR", 	"Memory", 0xfffffd44, 4, base=16
sfr = "WDTC_WDMR.WDV", 	"Memory", 0xfffffd44, 4, base=16, bitRange=0-11
sfr = "WDTC_WDMR.WDFIEN", 	"Memory", 0xfffffd44, 4, base=16, bitRange=12
sfr = "WDTC_WDMR.WDRSTEN", 	"Memory", 0xfffffd44, 4, base=16, bitRange=13
sfr = "WDTC_WDMR.WDRPROC", 	"Memory", 0xfffffd44, 4, base=16, bitRange=14
sfr = "WDTC_WDMR.WDDIS", 	"Memory", 0xfffffd44, 4, base=16, bitRange=15
sfr = "WDTC_WDMR.WDD", 	"Memory", 0xfffffd44, 4, base=16, bitRange=16-27
sfr = "WDTC_WDMR.WDDBGHLT", 	"Memory", 0xfffffd44, 4, base=16, bitRange=28
sfr = "WDTC_WDMR.WDIDLEHLT", 	"Memory", 0xfffffd44, 4, base=16, bitRange=29
sfr = "WDTC_WDSR", 	"Memory", 0xfffffd48, 4, base=16

⌨️ 快捷键说明

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