-
Datei
rfm70.h
@web4clans.com */ #include <inttypes.h> #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/pgmspace.h> #include "uart.h" // the uart //CS-Pin ist in der alten Schaltung mit 2 28-Pin-Sockeln und Jumpern für SPI-Experimente
in „Referenzparameter richtig übergeben“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MegaBoardV1.4.pdf
Menschen weiter helfen kann sich in der Welt des Microcontroller zurecht zu finden. Das Single Side AVR Experimentierbord ist für Atmel AVR Prozessoren des Typs Mega103 und Mega 128. Das Experimentierbord wird einfach auf ein Trägerboard aufgesteckt, das Trägerboard kann aus einer einfachen Punktrasterplatine
in „ATMEGA128 funzt nicht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ATmega8.pdf
8MHz RC Oscillator Frequency vs. Osccal Value 16 14 12 z H ( 10 R F 8 6 4 0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 OSCCAL VALUE 269 2486Z–AVR–02/11 Figure 173. Calibrated 4MHz RC Oscillator Frequency vs. Temperature 4.2 5.5V 4.1 4.0V 4 z 3.9 H ( 2.7V R F 3.8 3.7 3.6
in „Mikrocontroller und 15'' TFT LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
telefonadapter.c
März 2009 - 8. Oktober 2015 * tabsize = 8, encoding = utf-8 (ohne Windows-Header BOM) */ #include <avr/io.h> #include <avr/pgmspace.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <util/delay.h> #include <avr/fuse.h> #include <avr/signature.h> FUSES={ 0x5F, // Taktteiler /8, kein Taktausgang
in „HEX-File passt nicht in Attiny 25“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MmmF_V1.0.c
KOPFPORT PORTB #define RICHTUNGSPORT PORTD #define AUSGANG 255 #define AN 255 #define AUS 0 #include <avr/io.h> #include <avr/interrupt.h> void init (void); uint16_t SysTick_64tel = 0; struct Kanaele { uint8_t Tonhoehe[8]; uint8_t TonhoehenZaehler[8]; uint8_t Schritte[8]; }Kanal; struct Melodien { uint16_t Wechsel_bei64tel; uint8_t Tonhoehen[8]; }; const struct Melodien Melodie1[] = { { 32, { 200, 200, 200, 200, 200, 200, 200, 200 } }, { 64, { 0, 0, 0, 0, 0, 0, 0, 0 } }, { 88, { 12, 0, 0, 0, 0, 0, 0, 0 } }, { 96, {
in „Laufwerkmusik geht doch nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Levi.c
// date 21.th august 2016 10:19 #include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <avr/eeprom.h> #include <avr/wdt.h> #include <avr/io.h> #include "uart.h" // interrupt driven #define F_CPU 20000000 #include <util
in „Levitation Nachbau“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVRxt.asm
.include "AVR64EA28def.inc" ;.include "AVR128DA28def.inc" ;.include "AVR64EA28def.inc" ;.include "AVR16EB28def.inc" ;.include "AVR32DD28def.inc" ;.include "m4809def.inc" .equ DIR_LED = VPORTA_DIR .equ IN_LED = VPORTA_IN
in „AVR64EA28: PIT-Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.s
main: push r17 push r28 push r29 /* prologue: function */ /* frame size = 0 */ ldi r24,lo8(1) out 55-32,r24 ldi r24,lo8(-1) out 49-32,r24 ldi r24,lo8(440) ldi r25,hi8(440) rcall SetFrequency out 79-32,__zero_reg__ ldi r24,lo8(9) out 78-32,r24 in r24,89-32 ori r24,lo8(16) out 89-32,r24 ldi r24,lo8(500)
in „Array nicht in RAM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Leds //#define ANZAHL_LEDS 8 //#define ANZAHL_LEDS 16 //#define ANZAHL_LEDS 24 //#define ANZAHL_LEDS 32 //#define ANZAHL_LEDS 40 #define ANZAHL_LEDS 48 //#define ANZAHL_LEDS 56 //#define ANZAHL_LEDS 64 // Definition der Drehrichtung // 0 = Rechts, 1 = Links #define Drehrichtung 1 //Debug, 32 LEDs auf 16
in „Unöffentliche Hilfe bei meinem Programm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
servo.c
baudrate 9600 // 9600 Baud #define uartnumber (frequency/(baudrate*16l)-1) //Externe Funktionen #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <avr/signal.h> #include <util/delay.h> #include <avr/sleep.h> #include <inttypes.h> #include <sig-avr.h> #include <stdlib.h> #include <stdint.h> #include <avr/io.h> #include <math.h> #include "lcd.h" //Um zu wissen für was uint8_t u.s.w. steht siehe inttypes.h typedef uint8_t u08; typedef int8_t s08; typedef uint16_t u16; typedef int16_t s16; typedef uint32
in „Servo am Mikrocontroller“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
libmul64.S
;; R25:R18 *= R17:R10 ;; Ordinary ABI-Function DEFUN __muldi3 push r29 push r28 push Loop ldi C0, 64 mov Loop, C0 ;; C[] = 0 clr __tmp_reg__ wmov C0, 0 wmov C2, 0 wmov C4, 0 0: ;; Rotate B[] right by 1 and set Carry to the N-th Bit of B[] ;; where N = 64 - Loop. ;; Notice that B[] = B[] >>> 64 so after
in „Stack Überschreiber beim Rechnen mit uint64_t“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MmmF_V1.0.c
KOPFPORT PORTB #define RICHTUNGSPORT PORTD #define AUSGANG 255 #define AN 255 #define AUS 0 #include <avr/io.h> #include <avr/interrupt.h> void init (void); uint16_t SysTick_64tel = 0; struct Kanaele { uint8_t Tonhoehe[8]; uint8_t TonhoehenZaehler[8]; uint8_t Schritte[8]; }Kanal; struct Melodien { uint16_t Wechsel_bei64tel; uint8_t Tonhoehen[8]; }; const struct Melodien Melodie1[] = { { 16, { 200, 200, 200, 200, 200, 200, 200, 200 } }, { 32, { 0, 0, 0, 0, 0, 0, 0, 0 } }, { 44, { 12, 0, 0, 0, 0, 0, 0, 0 } }, { 48, {
in „Auf der Suche nach Ordnung =)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
A300_ATMEGA8xxx.pdf
at the timer clock cycle the counter is cleared (changes from MAX to BOTTOM). 110 ATmega8(L) 2486M–AVR–12/03 ATmega8(L) The PWM frequency for the output can be calculated by the following equation: clk_I/O fOCnPWM = -- - - - N ⋅ 256 The N variable represents the prescale factor (1, 8, 32, 64, 128, 256
in „atMega8-16 Au beschreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//ICC-AVR application builder : 21.08.2012 10:29:55 // Target : M32 // Crystal: 8.0000Mhz #include <iom32v.h> #include <macros.h> #include "font.h" #include "grafik.h" //Ports #define Display_ON (PORTA |= 0x3F
in „[ks0108] Chip1 reagiert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sternenhimmel_v6_ch.c
#include <avr/interrupt.h> #include <util/delay.h> #include <avr\io.h> //#include <avr/pgmspace.h> //Flash-Einbindung #include <stdio.h> #include <stdint.h> #include <avr/eeprom.h> #include "irmp.h" //Variablendeklaration
in „Fehlermeldung im AVR-Studio 4“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
kicad_8450_dcm_liste_neu_v3.pdf
, 2k SRAM, 1k EEPROM, JTAG ATMEGA329A-AU TQFP64, 32k Flash, 2k SRAM, 1k EEPROM ATMEGA329A-MU ATMEGA329PA, QFN/MLF64, 32k Flash, 2k SRAM, 1k EEPROM ATMEGA329PA-AU TQFP64, 32k Flash, 2k SRAM, 1k EEPROM ATMEGA329PA-MU QFN/MLF64, 32k Flash, 2k SRAM, 1k
in „KiCAD Eeschema, Bibliotheksdokumentation *.dcm als PDF-Datei“ · Platinen ·
-
PDF
AVR_ATmega_328PB.pdf
] 217 Atmel-42397C-8-bit AVR-ATmega328PB_Datasheet_Complete-10/2015 Figure 24-1 SPI Block Diagram DIVIDER /2/4/8/16/32/64/128 I S X P S Note: Refer to the pinout description and the IO Port description for SPI pin placement. The
in „ATmega328PB: UART(MC) empfängt falsche Daten“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
db_atmega8.pdf
at the timer clock cycle the counter is cleared (changes from MAX to BOTTOM). 112 ATmega8(L) 2486P–AVR–02/06 ATmega8(L) The PWM frequency for the output can be calculated by the following equation: f OCnPWM = ------------- N ⋅ 256 The N variable represents the prescale factor (1, 8, 32, 64, 128, 256,
in „ADC-Input und Auswahlverfahren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
{ UDR = c; while (!(UCSRA & (1<<UDRE))); } void programm(void) //Page programm routine { char data[64]; long int i,j=0; unsigned long adress; adress = getchar(); //get pageadress MSB adress <<=8; adress |= getchar(); //get pageadress LSB an generate Adressword for(j=0;j<64;j++) //buffer received page (64 bytes) { data[j] = getchar(); } boot_page_erase(adress); //erase Page while(boot_rww_busy()) //Wait until Flash is ready { boot_rww_enable(); } for(i=0;i<32;i++) //count to Pagesize (64 bytes) { boot_page_fill
in „Schreibroutine schreibt falsches in den Speicer“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_tutorial.pdf
Verzeichnis gespeichert. Das Verzeichnis ist bei einer Standardinstallation am PC auf C:\Programme\Atmel\AVR Tools\AvrAssembler\Appnotes\. Einige Include-Dateien heißen AT90s2313: 2313def.inc ATmega8: m8def.inc 16 ATmega16: m16def.inc ATmega32: m32def.inc ATTiny12: tn12def.inc ATTiny2313: tn2313def.inc Um
in „AVR-Tutorial als PDF bzw *.doc“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bootloader.c
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <stdlib.h> #include <stdbool.h> #include <util/delay.h> #include <avr/boot.h> #include <avr/signature.h> #include <avr/eeprom.h> #
in „GCC Optimierung, unterschiedliche Codelänge“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stack.h
uint8_t netmask[4]; //extern uint8_t router_ip[4]; //extern uint16_t IP_id_counter; #if defined (__AVR_ATmega32__)|| defined (__AVR_ATmega328P__) #define MAX_TCP_ENTRY 5 #define MAX_UDP_ENTRY 5 #define MAX_ARP_ENTRY 5 #define MTU_SIZE 600 #endif #if defined (__AVR_ATmega644__) || defined (__AVR_ATmega644P
in „Webpage Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Datasheet_ATmega1281_doc2549.pdf
regular. 8.1 In-System Reprogrammable Flash Program Memory The ATmega640/1280/1281/2560/2561 contains 64K/128K/256K bytes On-chip In-System Reprogrammable Flash memory for program storage, see Table 8-1 on page 20. Since all AVR instructions are 16 or 32 bits wide, the Flash is organized as 32K/64K/128K
in „LM73 über TWI/I2C mit Atmega1281 auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avrasm.txt
hoch 3 = 1 * 8 = 8 | | | |_________ 1 * 2 hoch 4 = 1 * 16 = 16 | | |___________ 1 * 2 hoch 5 = 1 * 32 = 32 | |_____________ 1 * 2 hoch 6 = 1 * 64 = 64 |_______________ 1 * 2 hoch 7 = 1 * 128 = 128 ----- 255 Jetzt könnte man natürlich fragen: Und wieso ist das nicht gleich 2 hoch 8, also 256 ? Antwort
-
Datei
main.c
prescaler 5-20 // prescaler 2 = 001 (500 kHz); 4 = 010 (250 kHz); 8 = 011 (125 kHz); 16 = 100 (62,5 kHz); 32 = 101 (31,25 kHz); 64 = 110 (15,625 kHz); 128 = 111 (7,8125 kHz) ADCSRA = (1 << ADPS2) | (1 << ADPS1) | (0 << ADPS0); // Prescaler = 64 --> 15.625 kHz ADCSRA |= (1 << ADEN); // Enable ADC } void read_ADC3
in „Attiny85 ADC Eingangswiderstand - wie hoch“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ATB_Touch_Prg_1.c
I2C, P92 - AT42QT1070 // P30 - Board 1 mit AT1284p, NT2 mit 5/12V 3A #include <stdbool.h> #include <avr/pgmspace.h> #include "main.h" #include <util/delay.h> #include "i2clcd.h" #include "i2cmaster.h" #include "avr/io.h" #include "util/delay.h" #include "avr/interrupt.h" #include <stdlib.h> int8_t d;
in „AT42QT1070 - QTouch für das Modulare Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MyFramControl_Error.h
" namespace MY_FRAMCONTROL { consteval uint32_t sizeofObject (const auto &data) { return sizeof(data); } consteval uint32_t lengthStructure (const auto &data, const size_t N) { return sizeofObject(data)/N; } constinit uint8_t TWI_BUFFER_SIZE {BUFFER_LENGTH
in „Wie Objekte in einem Array aktuell halten und umgekehrt?“ · Softwareentwicklung ·
-
Datei
fat.h
/* * Doku, siehe http://www.mikrocontroller.net/articles/AVR_FAT32 * Neuste Version: http://www.mikrocontroller.net/svnbrowser/avr-fat32/ * Autor: Daniel R. */ #ifndef _FAT_H #define _FAT_H // ##################################################################
in „MMC SD library FAT16 FAT32 read write“ · Projekte & Code ·
-
Datei
main.cpp
CCimEEPROM.bli.var21 = 4, CCimEEPROM.bli.var22 = 8, CCimEEPROM.bli.var23 = 16, CCimEEPROM.bli.var24 = 32, CCimEEPROM.bli.var21 = 64, CCimEEPROM.bli.var22 = 128, CCimEEPROM.bli.var23 = 255, CCimEEPROM.bli.var24 = 17 // :0B0000000000000000000000000000F5 // :00000001FF }; struct ConfigCollection CCimEEPROM2 EEMEM = { 1,128,255, 4,8,16,32, 64,128,255,17 // :0B0000000180FF040810204080FF1169 // :00000001FF }; //.eep mit beiden stucts : //:100000000180FF040810204080FF11000000000064 //:06001000000000000000EA //:00000001FF int main() { DDRD
in „AVR hängt mit EEMEM“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ATMega164_324_644_1284pa.pdf
Reprogrammable Flash Program Memory The ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P contains 16/32/64/128Kbytes On-chip In-System Reprogrammable Flash memory for program storage. Since all AVR instruc- tions are 16 or 32 bits wide, the Flash is organized as 32/64 x 16. For software security, the Flash
in „Hilfe bei AD-Wandler!“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AppNote_Atmel_RTC.pdf
module. The implementation requires only one discrete component – a 32.768 kHz watch crystal. The application has very low power consumption because the microcontroller operates in Power-save mode most of the time. In Power-save mode the AVR controller is sleeping with
in „Atmel AVR Controller mit integrierter RTC“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Serial_LCD-p14-24.pdf
Ausschnitt aus dem LCD Command Set 1 – LCD Mode: Dezimal Hex Aktion 208 0xD0 Set note length to 1/64 note 209 0xD1 Set note length to 1/32 note 210 0xD2 Set note length to 1/16 note 211 0xD3 Set note length to 1/8 note 212 0xD4 Set note length to 1/4 note 213 0xD5 Set note length to 1/2 note 214 0xD6
in „Betätigung Klang“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Atmel-8072-Using-the-XMEGA-Clock-System_ApplicationNote_AVR1003.pdf
AVR 8-bit Microcontrollers AVR1003: Using the XMEGA Clock System APPLICATION NOTE Features • Internal 32kHz, 2MHz, and 32MHz oscillators • External crystal oscillator or clock input • Internal PLL with
in „ATXMEGA384C3-AU ADC mist ungenau“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
glcd.inc
#define LCD_SCL PB7 // SCK #define SPI_IN_LOWER_IO_REGS #elif defined (__AVR_ATmega32__) #define LCD_PORT _SFR_IO_ADDR(PORTB) #define LCD_PIN _SFR_IO_ADDR(PINB) #define LCD_DDR _SFR_IO_ADDR(DDRB) #define LCD_CS PB4 // SS #define LCD_SDA PB5 // MOSI #define LCD_RESET PB6 // MISO
in „Nokia 6100 Grafiklibrary die Zweite“ · Projekte & Code ·
-
Datei
Konstanz_AVR.c
generator using timer 1 in CTC mode. Timer 0 * provides a clock */ /* Common Includes*/ #include <avr/io.h> #include <avr/wdt.h> #include <avr/eeprom.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <util/delay.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #include <stdio.h
in „Rechteckgenerator mit Atmega8 nicht so einfach (Anfänger)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fft3.asm
----------------------------------------------------; ; 16bit fixed point FFT performance with megaAVR @16MHz ; ; Points: Input, FFT, Output, Total: Throughput ; 64pts: .17ms, 1.9ms, 1.4ms, 3.5ms: 18.3kpps (expected) ; 128pts: .34ms, 4.4ms, 2.6ms, 7.3ms: 17.5kpps (measured) ; 256pts: .68ms, 10.1ms, 5.2ms
in „Schnelle FFT in Assembler“ · Digitale Signalverarbeitung / DSP / Machine Learning ·
-
Datei
fft3.asm
----------------------------------------------------; ; 16bit fixed point FFT performance with megaAVR @16MHz ; ; Points: Input, FFT, Output, Total: Throughput ; 64pts: .17ms, 1.9ms, 1.4ms, 3.5ms: 18.3kpps (expected) ; 128pts: .34ms, 4.4ms, 2.6ms, 7.3ms: 17.5kpps (measured) ; 256pts: .68ms, 10.1ms, 5.2ms
in „Schnelle FFT in Assembler“ · Digitale Signalverarbeitung / DSP / Machine Learning ·
-
Datei
xtea_speed.S
#include <avr/io.h> #include "xtea.h" t0 = 0 ;__tmp_reg__ t1 = 1 ;__zero_reg__ t2 = 14 t3 = 15 t4 = 17 v00 = 18 v01 = 19 v02 = 20 v03 = 21 v10 = 22 v11 = 23 v12 = 24 v13 = 25 cnt = 16 ; void XTEA_Dec(uint32_t* inout[2], uint32_t* Key[64]); .global XTEA_Dec .func XTEA_Dec XTEA_Dec: subi 22, lo8(-(63*4)) sbci 23, hi8(-(63*4)) clt rjmp .L_XTEA_Start .endfunc ; void XTEA_Enc(uint32_t* inout[2], uint32_t* Key[64]); .global XTEA_Enc
in „XTEA Enc/Dec in unter 100 Befehlen mit GCC konformer Schnittstelle“ · Projekte & Code ·
-
Datei
benchmark.c
ausgewertet. ------------------------------------------------------- */ #include <util/delay.h> #include <avr/io.h> #include <avr/pgmspace.h> #include <avr/interrupt.h> #include <inttypes.h> #include "tftdisplay.h" #include "my_printf.h" #define printf tiny_printf #define delay _delay_ms volatile uint32_t millis
in „CH32V003, float wirklich langsam?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dk7ih.c
#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <avr/eeprom.h> #include <util/delay.h> #undef F_CPU #define F_CPU 8000000 void lcd_write(int lcdmode, int value) { DDRC = 0xFF; //Set port for write operation PORTA &= 32; //RW=0 if(lcdmode) //0 for instruction, 1 for data { PORTA |= 16; //RS=1 } else { PORTA &= ~16; //RS=0 } PORTC = value; PORTA |= 64; //E=1 _delay_us(10); PORTA &= ~64; //E=0 PORTA &= ~16; //RS=0 } int
in „ATMega128 - Programm Reset nach Portzugriff (PORTA)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mini6.c
#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <avr/eeprom.h> #include <util/delay.h> void lcd_write(int lcdmode, int value) { DDRC = 0xFF; //Set port for write operation PORTA &= ~32; //RW=0 if(lcdmode) //0 for instruction, 1 for data { PORTA |= 16; //RS=1 } else { PORTA &= ~16; //RS=0 } PORTC = value; PORTA |= 64; //E=1 _delay_ms(1); PORTA &= ~64; //E=0 PORTA &= ~16; //RS=0 } int
in „ATMega128 - Programm Reset nach Portzugriff (PORTA)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR-ASM-Tutorial_16_05_08_v1.pdf
...................................................................................................32 4.2.4.3AVR Befehle.............................................................................................................32 5 AVR-Tutorial:Arithmetik8...........................................
in „AVR-ASM-Tutorial: PDF 16.5.08“ · www.mikrocontroller.net ·
-
PDF
ATtiny.pdf
versus processing speed. The AVR core combines a rich instruction set with 32 general-purpose working registers. All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing two independent registers to
in „Tiny 11 ,was ist davon zu halten?“ · PC Hard- und Software ·
-
PDF
MiniFox_1_.pdf
die Wand läuft... Als Sender wird der IC MICRF102BM von Micrel verwendet. Das Signal wird von einem AVR-Mikro- controller bereitgestellt. Der MICRF102BM ist ein UHF-ASK-Sender mit maximal 1,8mW Ausgangs- leistung. Beim MICRF102 ist die Sendefrequenz das 32fache der Quarzfrequenz, womit fürs 70cm- ISM-Band
in „Was kontrollieren, wenn man nicht "rein" kommt?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
timer.c
/* * timer.c * 20110208 (c) DE0508, Uwe */ #include <avr/io.h> #include <avr/interrupt.h> #include <inttypes.h> #include "main.h" #include "timer.h" // 8-Bit Timer - Timer0 on atMega88 #define _T0_PRESCALE_1 (1<<CS00) #define _T0_PRESCALE_8 (1<<CS01) #define
in „Problem: ADC-Wandlung legt Timer ISR Routine lahm“ · Projekte & Code ·
-
Datei
akkuload.asm
angeschlossen und ok ; nicht benutzt: Bits 3, 4 und 5 .EQU bMin = 2 ; Timer hat 1 Minute erreicht .EQU b32m = 1 ; Timer Interrupt 4 Secunden, 32 ADC-Messungen komplett .EQU b64Hz = 0 ; Timer Interrupt 64 Hz Tick ; ; Bit-Definitionen für das Anzeigeflag rFlgD ; .EQU bUHex = 7 ; Zeige Ergebnisse in Hex über
in „Asssembleprogramm für Mega16 auf Mega8535 anpassen, Sprungweite "call" und "jmp"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
akkuload.asm
angeschlossen und ok ; nicht benutzt: Bits 3, 4 und 5 .EQU bMin = 2 ; Timer hat 1 Minute erreicht .EQU b32m = 1 ; Timer Interrupt 4 Secunden, 32 ADC-Messungen komplett .EQU b64Hz = 0 ; Timer Interrupt 64 Hz Tick ; ; Bit-Definitionen für das Anzeigeflag rFlgD ; .EQU bUHex = 7 ; Zeige Ergebnisse in Hex über
in „Asssembleprogramm für Mega16 auf Mega8535 anpassen, Sprungweite "call" und "jmp"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
akkuload.asm
angeschlossen und ok ; nicht benutzt: Bits 3, 4 und 5 .EQU bMin = 2 ; Timer hat 1 Minute erreicht .EQU b32m = 1 ; Timer Interrupt 4 Secunden, 32 ADC-Messungen komplett .EQU b64Hz = 0 ; Timer Interrupt 64 Hz Tick ; ; Bit-Definitionen für das Anzeigeflag rFlgD ; .EQU bUHex = 7 ; Zeige Ergebnisse in Hex über
in „Asssembleprogramm für Mega16 auf Mega8535 anpassen, Sprungweite "call" und "jmp"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
makefile.txt
! 30. # 31. # make debug = Start either simulavr or avarice as specified for debugging, 32. # with avr-gdb or avr-insight as the front end for debugging. 33. # 34. # make filename.s = Just compile filename.c into the assembler code only. 35. # 36. # make filename.i = Create a preprocessed
in „Problem mit compilen mit headerdatei usw“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.lst
main.elf: file format elf32-avr Sections: Idx Name Size VMA LMA File off Algn 0 .text 00000172 00000000 00000000 00000074 2**1 CONTENTS, ALLOC, LOAD, READONLY, CODE 1 .data 00000004 00800060 00000172 000001e6 2**0 CONTENTS, ALLOC
in „AVR-GCC 4.7.2 Bug?“ · Mikrocontroller und Digitale Elektronik ·