📄 io_atmega16.inc
字号:
;###############################################################################;# io_atmega16.inc version 1.0;# 2002 Copyright (C) A.M. ten Doesschate <a.doesschate@hccnet.nl>;#;# This program is free software; you can redistribute it and/or modify;# it under the terms of the GNU General Public License as published by;# the Free Software Foundation; either version 2 of the License, or;# (at your option) any later version.;#;# This program is distributed in the hope that it will be useful,;# but WITHOUT ANY WARRANTY; without even the implied warranty of;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the;# GNU General Public License for more details.;#;# You should have received a copy of the GNU General Public License;# along with this program; if not, write to the Free Software;# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA;#;############################################################################### .equ i2c_baud = 0 .equ i2c_sr = 1 .equ i2c_adr = 2 .equ i2c_data = 3 .equ adc_lo = 4 .equ adc_hi = 5 .equ adc_ctl = 6 .equ adc_mux = 7 .equ acsr = 8 .equ ubrrl = 9 .equ ucr = 10 .equ usr = 11 .equ udr = 12 .equ spcr = 13 .equ spsr = 14 .equ spdr = 15 .equ pind = 0x10 .equ ddrd = 0x11 .equ portd = 0x12 .equ pinc = 0x13 .equ ddrc = 0x14 .equ portc = 0x15 .equ pinb = 0x16 .equ ddrb = 0x17 .equ portb = 0x18 .equ pina = 0x19 .equ ddra = 0x1a .equ porta = 0x1b .equ eecr = 0x1c .equ eedr = 0x1d .equ eearl = 0x1e .equ eearh = 0x1f .equ ubrrh_ucr_c = 0x20 .equ wdctl = 0x21 .equ async_cr = 0x22 .equ toc2 = 0x23 .equ tcnt2 = 0x24 .equ tctl2 = 0x25 .equ tic1_lo = 0x26 .equ tic1_hi = 0x27 .equ toc1b_lo = 0x28 .equ toc1b_hi = 0x29 .equ toc1a_lo = 0x2a .equ toc1a_hi = 0x2b .equ tcnt1_lo = 0x2c .equ tcnt1_hi = 0x2d .equ tccr1_lo = 0x2e .equ tccr1_hi = 0x2f .equ sfr_io = 0x30 .equ osc_cal = 0x31 .equ tcnt0 = 0x32 .equ tccr0 = 0x33 .equ mcu_stat = 0x34 .equ mcu_cr = 0x35 .equ i2c_ctl = 0x36 .equ spm_ctl = 0x37 .equ tifr = 0x38 .equ timsk = 0x39 .equ gifr = 0x3a .equ gi_ctl = 0x3b .equ toc0 = 0x3c .equ spl = 0x3d .equ sph = 0x3e .equ sreg = 0x3f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -