📄 mpf10.lst
字号:
1 .file "mpf10.c"
2 __SREG__ = 0x3f
3 __SP_H__ = 0x3e
4 __SP_L__ = 0x3d
5 __CCP__ = 0x34
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .global __do_copy_data
9 .global __do_clear_bss
11 .text
12 .Ltext0:
87 .global mpf10_init
89 mpf10_init:
1:io/mpf10.c **** /*
2:io/mpf10.c **** ,-----------------------------------------------------------------------------------------.
3:io/mpf10.c **** | io/mpf10
4:io/mpf10.c **** |-----------------------------------------------------------------------------------------
5:io/mpf10.c **** | this file implements some basic functions to control a led flasher (mpf10 from sony ericsson)
6:io/mpf10.c **** | - see http://avr.auctionant.de/mpf-10_handyblitz/ for hw description
7:io/mpf10.c **** |
8:io/mpf10.c **** | Author : Simon Schulz / avr{AT}auctionant.de
9:io/mpf10.c **** |
10:io/mpf10.c **** |
11:io/mpf10.c **** |
12:io/mpf10.c **** | Author : Simon Schulz / avr{AT}auctionant.de
13:io/mpf10.c **** |
14:io/mpf10.c **** |
15:io/mpf10.c **** |
16:io/mpf10.c **** |-----------------------------------------------------------------------------------------
17:io/mpf10.c **** | License:
18:io/mpf10.c **** | This program is free software; you can redistribute it and/or modify it under
19:io/mpf10.c **** | the terms of the GNU General Public License as published by the Free Software
20:io/mpf10.c **** | Foundation; either version 2 of the License, or (at your option) any later
21:io/mpf10.c **** | version.
22:io/mpf10.c **** | This program is distributed in the hope that it will be useful, but
23:io/mpf10.c **** |
24:io/mpf10.c **** | WITHOUT ANY WARRANTY;
25:io/mpf10.c **** |
26:io/mpf10.c **** | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
27:io/mpf10.c **** | PURPOSE. See the GNU General Public License for more details.
28:io/mpf10.c **** |
29:io/mpf10.c **** | You should have received a copy of the GNU General Public License along with
30:io/mpf10.c **** | this program; if not, write to the Free Software Foundation, Inc., 51
31:io/mpf10.c **** | Franklin St, Fifth Floor, Boston, MA 02110, USA
32:io/mpf10.c **** |
33:io/mpf10.c **** | http://www.gnu.de/gpl-ger.html
34:io/mpf10.c **** `-----------------------------------------------------------------------------------------*/
35:io/mpf10.c **** #include "mpf10.h"
36:io/mpf10.c **** #include "main.h"
37:io/mpf10.c ****
38:io/mpf10.c **** //ACTIVATE DEBUG by editing this file:
39:io/mpf10.c **** #include "debug.h"
40:io/mpf10.c ****
41:io/mpf10.c **** //intialise
42:io/mpf10.c **** void mpf10_init(void){
91 .LM1:
92 sbi 50-32,7
94 .LM2:
43:io/mpf10.c **** tialise
44:io/mpf10.c **** void mpf10_init(void){
95 prologue: function */
96 /* frame size = 0 */
45:io/mpf10.c **** tialise
46:io/mpf10.c **** void mpf10_init(void){
47:io/mpf10.c **** //set io pin as output:
98
99 mpf10_init:
101 .LM0:
48:io/mpf10.c **** id){
102 "mpf10_init:F(0,15)",36,0,0,mpf10_init
103 .global mpf10_init
105 mpf10_init:
107 .LM0:
108 .LFBB1:
109 /* prologue: function */
110 /* frame size = 0 */
49:io/mpf10.c **** tialise
50:io/mpf10.c **** void mpf10_init(void){
51:io/mpf10.c **** //set io pin as output:
112
113 mpf10_init:
115 .LM0:
116 .LFBB1:
52:io/mpf10.c **** id){
53:io/mpf10.c **** //set io pin as output:
54:io/mpf10.c **** MPF10_ENABLE_PORT |= (1<<MPF10_ENABLE_PIN);
117 it:F(0,15)",36,0,0,mpf10_init
118 .global mpf10_init
120 0008 01F0 mpf10_init:
122 000c 00C0 .LM0:
123 .LFBB1:
124 000e 40E0 /* prologue: function */
125 /* frame size = 0 */
127 .LM1:
128 sbi 50-32,7
130 .LM2:
131 cbi 50-32,7
132 /* epilogue start */
134 .LM3:
135 ret
1:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** /* Copyright (c) 2002, Marek Michalkiewicz
2:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** Copyright (c) 2007 Joerg Wunsch
3:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** All rights reserved.
4:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
5:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** Redistribution and use in source and binary forms, with or without
6:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** modification, are permitted provided that the following conditions are met:
7:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
8:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** * Redistributions of source code must retain the above copyright
9:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** notice, this list of conditions and the following disclaimer.
10:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
11:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** * Redistributions in binary form must reproduce the above copyright
12:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** notice, this list of conditions and the following disclaimer in
13:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** the documentation and/or other materials provided with the
14:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** distribution.
15:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
16:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** * Neither the name of the copyright holders nor the names of
17:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** contributors may be used to endorse or promote products derived
18:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** from this software without specific prior written permission.
19:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
20:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** POSSIBILITY OF SUCH DAMAGE. */
31:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
32:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** /* $Id: delay_basic.h,v 1.1 2007/05/13 21:23:20 joerg_wunsch Exp $ */
33:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
34:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** #ifndef _UTIL_DELAY_BASIC_H_
35:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** #define _UTIL_DELAY_BASIC_H_ 1
36:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
37:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** #include <inttypes.h>
38:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h ****
39:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** /** \file */
40:c:/winavr-20081205/lib/gcc/../../avr/include/util/delay_basic.h **** /** \defgroup util_delay_basic <util/delay_basic.h>: Basic busy-wait delay loops
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -