-
Datei
ATmega324P.xml
0x10</GPIOR14_MASK> <GPIOR15_MASK>0x20</GPIOR15_MASK> <GPIOR16_MASK>0x40</GPIOR16_MASK> <GPIOR17_MASK>0x80</GPIOR17_MASK> </GPIOR1> <OCR0B> <IO_ADDR>$28</IO_ADDR> <MEM_ADDR>$48</MEM_ADDR> <OCR0B_0_MASK>0x01</OCR0B_0_MASK> <OCR0B_1_MASK>0x02</OCR0B_1_MASK> <OCR0B
in „M324def.inc gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Mega32_3.bas
' - Falls die Baudrate für die serielle Schnittstelle initialisiert wird, ' ..... . sind PD0 und PD1 nicht mehr verfügbar ' $regfile = "m8def.DAT" $regfile = "m32def.DAT" ' ATMega32 ' $crystal = 8000000 ' Anpassen an die Hardware, Taktfrequenz $crystal = 16000000 ' $baud = 19200 ' Reserviert TxD und
in „Pollin 16080 Touch mit ATMEGA32 und BASCOM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TinyBasic.asm
' | 0x80 ; 13 14 .DB "SOUN",'D'| 0x80,"CL",'S' | 0x80 ; 15 16 .DB "SET",'(' | 0x80, "RESET",'(' | 0x80 ; 17 18 FXTAB: ; FUNCTIONS .DB "PEEK",'(' | 0x80,"ME",'M' | 0x80 ; 19 1A .DB "RND",'(' | 0x80 ; 1B .DB "USR",'(' | 0x80 ; 1C .DB "ABS",'(' | 0x80 ; 1D .DB "NOT
in „AVR Tiny BASIC anpassung für ATmega8“ · Projekte & Code ·
-
Datei
Assembler.s
= 0x21 .equ UBRRH = 0x20 .equ UCSRC = 0x20 .equ EEARL = 0x1e .equ EEARH = 0x1f .equ EEDR = 0x1d .equ EECR = 0x1c .equ DDRA = 0x1a .equ PINA = 0x19 .equ DDRB = 0x17 .equ PINB = 0x16 .equ DDRC = 0x14 .equ PINC = 0x13 .equ DDRD = 0x11 .equ PIND = 0x10 .equ SPDR
in „ISR macht Newbie fertig :P“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
picture.asm
.include "m32def.inc" ;--> mit externem 16 MHz Quarz <-- .device ATmega32 .EQU fq = 16000000 .def sync = r20 .def black = r21 .def gray = r22 .def white =r23 .def wait1 = r19 .def wait2 = r24 .def temp = r18 ; 4
in „PAL ähnliches Signal ohne Interrupts zum Verständniss“ · Projekte & Code ·
-
Datei
objdump.txt
< 0) { angular_travel += 2*M_PI; } 8002f0c: f04f 0301 mov.w r3, #1 8002f10: 461e mov r6, r3 8002f12: e9d7 012a ldrd r0, r1, [r7, #168] ; 0xa8 8002f16: f20f 4330 addw r3, pc, #1072 ; 0x430 8002f1a: e9d3 2300 ldrd r2, r3, [r3] 8002f1e
in „STM32F4 HardFault Interrupt bei stdlib Funktionen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rev2.asm
include "m8535def.inc" .list .equ HERTZ = 16000000 ; 1c == 62ns ; 16c > 1ys ; DMX timing: .equ DMX_BAUD = 3 ; 250kBaud .equ DMX_PRESCALER = 0b010 ; 1/8 = 2MHz .equ DMX_88ys = 150 ; about 90ys .equ DMX_8ys = 50
in „AVR/ Teilbarkeit durch 100 und 400“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avrdude1.txt
Sent: . [01] avrdude: Recv: . [01] . [00] . [0a] A [41] V [56] R [52] I [49] S [53] P [50] _ [5f] M [4d] K [4b] 2 [32] avrdude: stk500v2_getsync(): found AVRISP mkII programmer AVR Part : ATMEGA32 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial
in „avrdude 5.6 unter Linux spinnt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MEGA1284P_Spielekonsole.bas
+1))] '021 15 ST 2 Register in RAM-Byte schreiben [RAM(R(P1):R(P1+1))= ' R(P2)] '022 16 MOV 2 Register kopieren [R(P1) = R(P2)] '023 17 SWAP 2 Registerwerte vertauschen [R(P1) <-> R(P2)] ' '024 18 JMP 2
in „EEPROM-lese-Routine "veräppelt" mich“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MEGA1284P_Spielekonsole.bas
+1))] '021 15 ST 2 Register in RAM-Byte schreiben [RAM(R(P1):R(P1+1))= ' R(P2)] '022 16 MOV 2 Register kopieren [R(P1) = R(P2)] '023 17 SWAP 2 Registerwerte vertauschen [R(P1) <-> R(P2)] ' '024 18 JMP 2
in „EEPROM-lese-Routine "veräppelt" mich“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_320x240_Vers5.asm
out SPH, temp ;setup stack pointer ser temp ;set register -> 0xFF out DDRB, temp ;PCLK, LOAD, FLM, M, ONOFF out DDRC, temp ;D0 - D3 out PORTD, temp ;RXD (UART) ;Timer 1 (16 bit) zur Kontrastregelung ldi temp, (1<<WGM10)|(1<<COM1A1)|(1<<COM1A0); 8bit PWM, Ausgabe auf OC1A out TCCR1A, temp ;Timer Counter Control Register 1A (Timer 1) ldi temp, 1 ;Systemtakt/256 -> 62,5kHz PWM out TCCR1B, temp ;Timer Counter Control Register 1B (Timer 1) ldi temp, 128 ;low byte des 16 bit Vergleichswertes out OCR1AL, temp ;Output Compare
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
tp-18a.asm
1 goodies: .byte 1 comp_state: .byte 1 gp_cnt: .byte 1 uart_data: .byte 100 ; only for debug requirements ;**** **** **** **** **** ; ATmega8 interrupts ;.equ INT0addr=$001 ; External Interrupt0 Vector
in „Verständnisfrage Assembler Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_320x240_Vers3_neu.asm
out SPH, temp ;setup stack pointer ser temp ;set register -> 0xFF out DDRB, temp ;PCLK, LOAD, FLM, M, ONOFF out DDRC, temp ;D0 - D3 out PORTD, temp ;RXD (UART) ;Timer 1 (16 bit) zur Kontrastregelung ldi temp, (1<<WGM10)|(1<<COM1A1)|(1<<COM1A0); 8bit PWM, Ausgabe auf OC1A out TCCR1A, temp ;Timer Counter Control Register 1A (Timer 1) ldi temp, 1 ;Systemtakt/256 -> 62,5kHz PWM out TCCR1B, temp ;Timer Counter Control Register 1B (Timer 1) ldi temp, 128 ;low byte des 16 bit Vergleichswertes out OCR1AL, temp ;Output Compare
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
LCD_320x240_Vers4.asm
out SPH, temp ;setup stack pointer ser temp ;set register -> 0xFF out DDRB, temp ;PCLK, LOAD, FLM, M, ONOFF out DDRC, temp ;D0 - D3 out PORTD, temp ;RXD (UART) ;Timer 1 (16 bit) zur Kontrastregelung ldi temp, (1<<WGM10)|(1<<COM1A1)|(1<<COM1A0); 8bit PWM, Ausgabe auf OC1A out TCCR1A, temp ;Timer Counter Control Register 1A (Timer 1) ldi temp, 1 ;Systemtakt/256 -> 62,5kHz PWM out TCCR1B, temp ;Timer Counter Control Register 1B (Timer 1) ldi temp, 128 ;low byte des 16 bit Vergleichswertes out OCR1AL, temp ;Output Compare
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
LCD_320x240_Vers3.asm
out SPH, temp ;setup stack pointer ser temp ;set register -> 0xFF out DDRB, temp ;PCLK, LOAD, FLM, M, ONOFF out DDRC, temp ;D0 - D3 out PORTD, temp ;RXD (UART) ;Timer 1 (16 bit) zur Kontrastregelung ldi temp, (1<<WGM10)|(1<<COM1A1)|(1<<COM1A0); 8bit PWM, Ausgabe auf OC1A out TCCR1A, temp ;Timer Counter Control Register 1A (Timer 1) ldi temp, 1 ;Systemtakt/256 -> 62,5kHz PWM out TCCR1B, temp ;Timer Counter Control Register 1B (Timer 1) ldi temp, 128 ;low byte des 16 bit Vergleichswertes out OCR1AL, temp ;Output Compare
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
LCD_320x240_Vers3.asm
out SPH, temp ;setup stack pointer ser temp ;set register -> 0xFF out DDRB, temp ;PCLK, LOAD, FLM, M, ONOFF out DDRC, temp ;D0 - D3 out PORTD, temp ;RXD (UART) ;Timer 1 (16 bit) zur Kontrastregelung ldi temp, (1<<WGM10)|(1<<COM1A1)|(1<<COM1A0); 8bit PWM, Ausgabe auf OC1A out TCCR1A, temp ;Timer Counter Control Register 1A (Timer 1) ldi temp, 1 ;Systemtakt/256 -> 62,5kHz PWM out TCCR1B, temp ;Timer Counter Control Register 1B (Timer 1) ldi temp, 128 ;low byte des 16 bit Vergleichswertes out OCR1AL, temp ;Output Compare
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
RTC_LCD320x240.asm
* ;* * ;************************************************************************************ ; ; ATMega16 ; +--+-+--+ ; (XCK/TO)PB0 | |_| | PA0(ADC0) ; (T1)PB1 | | PA1(ADC1) ; (INT2/AIN0)PB2 | | PA2(ADC2) ; (OC0/AIN1)PB3 | | PA3(ADC3) ; (SS)PB4 | | PA4(ADC4) ; (MOSI)PB5 | | PA5(ADC5) ; (MISO)PB6 | |
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
LCD_320x240_Vers2.asm
out SPH, temp ;setup stack pointer ser temp ;set register -> 0xFF out DDRB, temp ;PCLK, LOAD, FLM, M, ONOFF out DDRC, temp ;D0 - D3 out PORTD, temp ;RXD (UART) ;Timer 1 (16 bit) zur Kontrastregelung ldi temp, (1<<WGM10)|(1<<COM1A1)|(1<<COM1A0); 8bit PWM, Ausgabe auf OC1A out TCCR1A, temp ;Timer Counter Control Register 1A (Timer 1) ldi temp, 1 ;Systemtakt/256 -> 62,5kHz PWM out TCCR1B, temp ;Timer Counter Control Register 1B (Timer 1) ldi temp, 128 ;low byte des 16 bit Vergleichswertes out OCR1AL, temp ;Output Compare
in „Einfacher Low Cost LCD Controller für 320x240 LCD im Textmodus“ · Projekte & Code ·
-
Datei
Monitor3.asm
notwendig. * ;* * ;**************************************************************************** .include "m8def.inc" ; @22,1184MHz ;Port D .equ VSync = 0 ;VSync direkt an Monitor .equ HSync = 1 ;HSync direkt an Monitor ;Port C .equ R = 0 ;R über 680 Ohm .equ G = 1 ;G über 680 Ohm .equ B = 2 ;B über 680 Ohm