-
Datei
main.c
#define F_CPU 16000000 #define TAKTFREQUENZ 1000 #include <avr/io.h> #include <util/delay.h> void error(int Fehlerpunkt){ /*1,2 Fehler bei config*/ DDRD |= 0x04; PORTD |= 0x04; //Fehler LED an PD2 while(1); } void TWI_config(){ #define TFPS64 0x03; #define TFPS16
in „Das erste Mal TWI nutzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#define F_CPU 16000000 #define TAKTFREQUENZ 1000 #include <avr/io.h> #include <util/delay.h> void error(int Fehlerpunkt){ /*1,2 Fehler bei config*/ DDRD |= 0x04; PORTD |= 0x04; //Fehler LED an PD2 while(1); } void TWI_config(){ #define TFPS64 0x03; #define TFPS16
in „Das erste Mal TWI nutzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Makefile.txt
off optimization. s = optimize for size. # (Note: 3 is not always the best optimization level. See avr-libc FAQ.) OPT = s # Debugging format. # Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs. # AVR Studio 4.10 requires dwarf-2. # AVR [Extended] COFF format requires stabs, plus an avr-objcopy
in „Problem mit Makefile“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Makefile.txt
off optimization. s = optimize for size. # (Note: 3 is not always the best optimization level. See avr-libc FAQ.) OPT = s # Debugging format. # Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs. # AVR Studio 4.10 requires dwarf-2. # AVR [Extended] COFF format requires stabs, plus an avr-objcopy
in „Blutiger Anfänger bruacht hilfe beim ATMEGA32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CanToPwm_CAN20a.c
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/signal.h> #include <avr/delay.h> // Konfiguration der PINs // PB5 PWM Signal Motor // PE3 PWM Signal Lenkung // PE4 PWM Signal Bremse-Front // PE5 PWM
in „compilerproblem at90can128 empfang“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
16000000UL #include <stdint.h> // Header File für Datentypen (uint8_t, etc.) #include <stdlib.h> #include <avr/io.h> // Header File für IO Ports #include <avr/interrupt.h> // Header File Interrupt Vektoren #include <avr/pgmspace.h> // Markos für PGM Space // INCLUDES für UART #include "uart.h" #define ANZAHL1
in „µC rechnet falsch oder ich finde den Fehler nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DMX_DIMMER8_2.bas
----------------------- ' DMX - Dimmer 512 / by DW-Soft ' Dirk Wegener - 2004 - the_clown@web.de ' AVR-Bascom '-------------------------------------------------------------------- $regfile = "m16def.dat" $crystal = 16000000 $baud = 250000 Config Timer0 = Timer , Prescale = 64 Dim Dmx_count As Word Dim
in „DMX Demux für Dimmerpack 3Phasig in Bascom“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
YigFilter.asm
;*************************************************************************** ;* AVR-Microcontroller als Videocontroller für Grafik-LC-Displays * ;* Simulation eines Oszilloskops mit langsam verblassendem Schreibstrahl * ;* Das Video-Ram von 32 kByte ist in 4k-Blöcke aufgeteilt: 4k
in „Grafik LCD als text Display nutzen“ · Mikrocontroller und Digitale Elektronik ·
-
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 //************************RFM function parameter constants***************************
in „RFM70 Timing Problem?“ · Mikrocontroller und Digitale Elektronik ·
-
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 //************************RFM function parameter constants***************************
in „RFM70 Timing Problem?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR053.pdf
2.0 ATmega323 1.0 3.0 ATmega8 1.0, 2.0, 4.0, and 8.0 3.0 ATmega16 1.0, 2.0, 4.0, and 8.0 3.0 ATmega32 1.0, 2.0, 4.0, and 8.0 (1) 3.1 ATmega64 1.0, 2.0, 4.0, and 8.0 XDIV (1) 3.1 ATmega128 1.0, 2.0, 4.0, and 8.0 XDIV 3.0 ATmega8515 1.0, 2.0, 4.0, and 8.0 3.0 ATmega8535 1.0, 2.0, 4.0, and 8.0 4.0 ATmega162
in „OSCCAL für 8MHz ?!? be ATTiny26“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR053.PDF
2.0 ATmega323 1.0 3.0 ATmega8 1.0, 2.0, 4.0, and 8.0 3.0 ATmega16 1.0, 2.0, 4.0, and 8.0 3.0 ATmega32 1.0, 2.0, 4.0, and 8.0 (1) 3.1 ATmega64 1.0, 2.0, 4.0, and 8.0 XDIV (1) 3.1 ATmega128 1.0, 2.0, 4.0, and 8.0 XDIV 3.0 ATmega8515 1.0, 2.0, 4.0, and 8.0 3.0 ATmega8535 1.0, 2.0, 4.0, and 8.0 4.0 ATmega162
in „Osccal für EEPROM bei mega8535 mit Quarz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avr910_2313_v38c.asm
supported ! ; official Devicecodes as matched in AVRProg V1.40 .db 0x3a ,0x20 ;m8515, PROGRAMMER_PAGESIZE 32 words (0x20) .db 0x3b ,0x20 ;m8515boot Bootloader Mode untested! .db 0x41 ,0x40 ;m103 .db 0x43 ,0x40 ;m128 .db 0x44 ,0x40 ;m128boot Bootloader Mode untested! .db 0x45 ,0x40 ;m64 .db 0x46 ,0x40 ;m64boot
in „Programmer incl. neuem Code für Atmel AN910“ · Projekte & Code ·
-
Datei
sendmail.c
out[4], int len ) { out[0] = cb64[ in[0] >> 2 ]; out[1] = cb64[ ((in[0] & 0x03) << 4) | ((in[1] & 0xf0) >> 4) ]; out[2] = (unsigned char) (len > 1 ? cb64[ ((in[1] & 0x0f) << 2) | ((in[2] & 0xc0) >> 6) ] : '='); out[3] = (unsigned char) (len > 2 ? cb64[ in[2] & 0x3f ] : '='); } //---------------------------------------------------------------------------- unsigned char Encode_Base64(char *wort, char *encoded) { char in[3], out[4]; unsigned char len
-
Datei
32MHz.c
#include <stdint.h> #include <avr/interrupt.h> #include <avr/io.h> #include <avr/wdt.h> #include <util/delay.h> // system clock = 1MHz #define CLOCK PB1 // OC1A #define STATUS PB0 #define SCALE 2 // clock output = 32MHz/SCALE #define
in „Port mit 8MHz toggeln“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ATMega_48_88_168.pdf
Register File is described in “General Purpose Register File” on page 10. 16 ATmega48/88/168 2545B–AVR–01/04 ATmega48/88/168 Figure 10. Data Memory Map Data Memory 32 Registers 0x0000 - 0x001F 64 I/O Registers 0x0020 - 0x005F 160 Ext I/O Reg. 0x0060 - 0x00FF 0x0100 Internal SRAM (512/1024/1024 x 8) 0x02FF
in „I2C/TWI TWBR > 10 warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test2.c
PWM_STEPS verkleinert werden #endif // includes #include <stdint.h> #include <string.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> // globale Variablen volatile uint8_t pwm_setting[4]; // Einstellungen für die einzelnen PWM-Kanäle uint16_t pwmtable[32] PROGMEM = {0, 1, 2, 2, 2, 3, 3, 4, 5, 6, 7, 8, 10, 11, 13, 16, 19, 23, 27, 32, 38, 45, 54, 64, 76, 91, 108, 128, 152, 181, 215, 255}; // Timer 1 Output COMPARE A Interrupt ISR(TIMER1_COMPA_vect) { static uint8_t pwm_cnt=0; uint8_t tmp=0; OCR1A += (uint8_t)T_PWM; if (pwm_setting
in „Moodlight Sourcecode hilfe“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sdram_error.c
:14:30 * Author: Falk */ /* * sdram.c * * Created: 14.12.2014 22:43:03 * Author: Falk */ #include <avr/io.h> #include <avr/pgmspace.h> #include <string.h> #include <stdio.h> #define PRINT(string, ...) printf_P(PSTR(string), ##__VA_ARGS__) #include "sdram.h" void sdram_init(void) { // PORTs H, J, K are
in „Compilerfehler?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_Z180_CP_M.pdf
27 10K e 18.432 MHz 65 /RFSH /WR 67 74HCT32D V TX_AVR/2.4A 11 PD1 AVCC 100n 100n R GND /M1 /RD C14 + 32 13 SDREQ PD2 R12 2 1 1 GND VCC DQ0 BUSACK 12 PD3 AREF 29 C2 C9 S 22p 22p A18/TOUT 33 DQ1 14 LATCH 13 PD4 ~RESET 4 AVR_RESET/3.3B C17 C16 A17
in „CP/M auf ATmega88“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ebi_driver.h
*********************************************/ #ifndef EBI_DRIVER_H #define EBI_DRIVER_H #include "avr_compiler.h" #if defined( __GNUC__ ) /*! \brief Macro to access SRAM. * * \note GCC do not support 24-bit addresses, and the * RAMPZ register has to be set manually to address * memory accross each 64K
in „SDRAM und Xmeaga-A X-Plained“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ebi_driver.h
*********************************************/ #ifndef EBI_DRIVER_H #define EBI_DRIVER_H #include "avr_compiler.h" #if defined( __GNUC__ ) /*! \brief Macro to access SRAM. * * \note GCC do not support 24-bit addresses, and the * RAMPZ register has to be set manually to address * memory accross each 64K
in „Viel RAM am kleinen Controller“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
encoder.c
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #define XTAL 4e6 // 4MHz #define PHASE_B (PINA & 1<<PA6) // an Pinbelegung anpassen #define PHASE_A (PINA & 1<<PA7) // an Pinbelegung anpassen
in „M32 Timer läuft nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fraktal_speedtest_avr.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
AVR910JS_2313_v3_3.asm
;*************************************************************************** ;* ;* Title : AVR ISP (Auto adr inc, 19200bps) ;* Version : 3.2 ;* Last updated : 17/Jan/05 ;* Target : AT90S2313 @ 4Mhz (orig. AT90S1200) ;* File : AVR910_2313_v3_2.asm ;* Author(s) : Ole Saether, Terje Frostad, ;*
in „AVR - suche Datei avr910.asm von Atmel“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
catalog-3.pdf
4 kB Flash, 32-Pin TQFP MPN: STM32F030C8T6TR [ID]: 000168 [Price]: 3.4174 USD [QTY]: 20 [Category]: Microcontrollers [Desc]: Mainstream ARM Cortex-M0 Value line MCU with 64 Kbytes Flash, 48 MHz CPU MPN: STM32F103RBT6
-
Datei
main.c
16000000UL #include <stdint.h> // Header File für Datentypen (uint8_t, etc.) #include <stdlib.h> #include <avr/io.h> // Header File für IO Ports #include <avr/interrupt.h> // Header File Interrupt Vektoren #include <avr/pgmspace.h> // Markos für PGM Space // INCLUDES für UART #include "uart.h" #define ANZAHL1
in „µC rechnet falsch oder ich finde den Fehler nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main_lcd_vlgem1277-01.cpp
######### #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <util/delay.h> /************************************************************************/ /* Definitions */ /*********************
in „Pollin Display VL-FS-COG-VLGEM1277-01“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Atiny2313.pdf
the present operating condi- tions. The device is shipped with the CKDIV8 Fuse programmed. 31 2543I–AVR–04/06 Table 12. Clock Prescaler Select CLKPS3 CLKPS2 CLKPS1 CLKPS0 Clock Division Factor 0 0 0 0 1 0 0 0 1 2 0 0 1 0 4 0 0 1 1 8 0 1 0 0 16 0 1 0 1 32 0 1 1 0 64 0 1 1 1 128 1 0 0 0 256 1 0 0 1 Reserved
in „Suche tutorial“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
24.1test.c
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/signal.h> // ################################################## CODE MESSPLATINE ############################################### // Chipselect Pins für
in „Subroutine wird fälschicherweise ausgeführt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Original.asm
0068 6290 00D0 '.b..-...p..{p...' st X, r25 ; 0069 939C 00D2 '..-...p..{p.....' rcall avr0398 ; 006A D32D 00D4 '-...p..{p.......' avr006B: rjmp avr004F ; 006B CFE3 00D6 '..p..{p.........' avr006C: lds r23, 0x0060 ; 006C 9170 0060 00D8 'p..{p...........' andi r23, 0xBF ; 006E 7B7F 00DC '.
in „32 kHz kompatibler Bootloader gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
aktuellste_Version.c
RUECK 255 #define STP_ARM 0 //Schritt scharfmachen #define STP_FIRE 255 //Schritt ausführen #include <avr/io.h> #include <avr/interrupt.h> void timerInit (void); void floppyInit (void); volatile uint16_t SysTick_64tel = 0; struct Kanaele { uint8_t Tonhoehe[8]; uint8_t TonhoehenZaehler[8]; uint8_t Schritte
in „Auf der Suche nach Ordnung =)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gls330.bas
= &HFF For Gl_i = 0 To 31 Gosub Gl_putbyte Next Gl_i Gl_addr = Lcd_l14 + 6 Msg = "Written in BascomAVR" Gosub Gl_putmsg Gl_addr = Lcd_l15 + 6 Msg = "Using an AT90S8535" Gosub Gl_putmsg Wait 3 'Load image from eeprom ' **** MAKE SURE THAT YOU HAVE LOADED THE EEP or HEX IMAGE FILE (64x64 bitmap) *****
in „LCD-Modul EPSON ECM-A0428 von Pollin“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stdint.h> #include <avr/io.h> #include <avr/interrupt.h> #include <stdio.h> //#include "main.h" #define F_CPU 6000000 #define Prescaler0 () // Zähler angehalten #define Prescaler1 (1<<CS10) // Zählertakt = F_CPU / 1 #define Prescaler8 (1<<CS11) // Zählertakt = F_CPU / 8 #define Prescaler64 (1<<CS11)|(1<<CS10) // Zählertakt = F_CPU / 64 #define Prescaler256 (1<<CS12) // Zählertakt = F_CPU / 256 #define Prescaler1024 (1<<CS12)|(1<<CS10) // Zählertakt = F_CPU / 64 #define KEY_DDR DDRC #define
in „Rechteckgenerator mit Atmega8 nicht so einfach (Anfänger)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Check_Fuses.txt
--- ---- ------ ----- ----- --------- eeprom 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00 lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : PPI Description : Direct AVR Parallel Access cable VCC = 3 BUFF = (not used) RESET = 16 SCK = 1 MOSI = 2 MISO = 11 ERR LED = 0 RDY LED = 0 PGM LED = 0 VFY LED = 0 avrdude: AVR device initialized and ready to accept instructions
in „AVR- Arduino ATmega8 Bootloader,can not write Fuses“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tiny1b.ino
#include <avr/io.h> #include <avr/wdt.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <util/delay.h> #define DUTY 20 #define LED_PIN PB0 #define ONTIME 7210 #define OFFTIME 10101 //#define ONTIME 213
in „AtTiny13: Watchdog Interrupt dauert lange“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MakeTime_t.c
#include <avr/io.h> #include <avr/pgmspace.h> #include <avr/interrupt.h> uint32 hardwareTimeZone = 3600; // Offset in Sekunden uint32 hardwareDaylightOffset = 3600; // Sommerzeit Offset in Sekunden const char dayTab
in „Berechnung Datum + Uhrzeit + Sommerzeit“ · Projekte & Code ·
-
Datei
main.c
16000000UL #include <stdint.h> // Header File für Datentypen (uint8_t, etc.) #include <stdlib.h> #include <avr/io.h> // Header File für IO Ports #include <avr/interrupt.h> // Header File Interrupt Vektoren #include <avr/pgmspace.h> // Markos für PGM Space // INCLUDES für UART #include "uart.h" #define ANZAHL1
in „µC rechnet falsch oder ich finde den Fehler nicht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
atmega_328.pdf
SPI TWI PORT D (8) PORT B (8) PORT C (7) RESET XTAL[1..2] PD[0..7] PB[0..7] PC[0..6] ADC[6..7] 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 5 8271BS–AVR–
in „1 Wire mit Atmega328“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test2.c
PWM_STEPS verkleinert werden #endif // includes #include <stdint.h> #include <string.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <util/delay.h> // globale Variablen volatile uint8_t pwm_setting[4]; // Einstellungen für die einzelnen PWM-Kanäle uint16_t pwmtable[32] PROGMEM = {0, 1, 2, 2, 2, 3, 3, 4, 5, 6, 7, 8, 10, 11, 13, 16, 19, 23, 27, 32, 38, 45, 54, 64, 76, 91, 108, 128, 152, 181, 215, 254}; // Timer 1 Output COMPARE A Interrupt ISR(TIMER1_COMPA_vect) { static
in „Moodlight Sourcecode hilfe“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
komperator.c
#include <avr/io.h> #include <avr/interrupt.h> #include <inttypes.h> #include <stdint.h> #include <math.h> #include "sqrt32.h" #define nop() asm volatile("nop") #define TIMER_ON 1 #define ANZ_MESSWERTE 20 #define
in „Probleme mit Statemachine“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
t6963c.h
---------------------------------------------------------- * Program to control a T6963C-based 240x64 pixel LCD display * * * * Written by John P. Beale May 3-4, 1997 beale@best.com * * Converted by Nico Sachs Feb. 2006 for AVR-GCC * * Based on information from Steve Lawther, * "Writing Software for
in „T6963C an Mega16 - Einige Pixel verirren sich ^^“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
L-Meter.c
Bezeichnung-LCD Pin-µC * 1 Vss GND * 2 Vcc 5V * 3 Vee GND oder Poti (10kOhm) (0-5V) * 4 RS PD2 am AVR * 5 RW PD1 am AVR * 6 E PD0 am AVR * 7 DB0 PA0 am AVR * 8 DB1 PA1 am AVR * 9 DB2 PA2 am AVR * 10 DB3 PA3 am AVR * 11 DB4 PA4 am AVR * 12 DB5 PA5 am AVR * 13 DB6 PA6 am AVR * 14 DB7 PA7 am AVR * * *
in „LCD an ATmega644 (später ATmega8) mittels TWI/I2C (Anfängergerecht)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
beispiele.pdf
in byte Int8_t 1 -128 to 127 Uint8_t 1 0 to 255 Int16_t 2 -32768 to 32767 Uint16_t 2 0 to 65535 Int32_t 4 -2147483648 to 2147483647 Uint32_t 4 0 to 4294967295 Int64_t 8 -9.22*10^18 to 9.22*10^18 Uint64_t 8 0 to 1.844*10^19 Definition: Creation of a variable in the SRAM: Uint_8 val = 8; Through this instruction
in „Messwerte in EEProm speichern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
haraleit.pdf
in byte Int8_t 1 -128 to 127 Uint8_t 1 0 to 255 Int16_t 2 -32768 to 32767 Uint16_t 2 0 to 65535 Int32_t 4 -2147483648 to 2147483647 Uint32_t 4 0 to 4294967295 Int64_t 8 -9.22*10^18 to 9.22*10^18 Uint64_t 8 0 to 1.844*10^19 Definition: Creation of a variable in the SRAM: Uint_8 val = 8; Through this instruction
in „avr bibliothek“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RotaryEnc.c
dekodieren */ /* */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include "main.h" #define XTAL 8e6 // 8MHz #define PHASE_A (PINB & 1<<PB7) // an Pinbelegung anpassen #define PHASE_B (PINB & 1<<PB6) // an
in „Drehgeber Forums-Lib Verständnisproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LED-PWM_Tiny13A.c
"Weiterführende Tutorials" * * Dieses Programm wurde erstellt mit dem frei verfügbaren AVR-Studio/Atmel-Studio von ATMEL * * Created: 28.04.2015 09:48:48 * Author: Lars Mielchen, TE-13B */ #include <avr/io.h> #include <avr/interrupt.h> //***************************************************
in „AVR-Studio Simulation/Debugging springt nicht in ISR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
bb_i2c.h
wait10 do{_delay_ms(3333);_delay_ms(3333);_delay_ms(3333);}while(0) //2^8 = 256 //2^16 = 65.536 //2^32 = 4.294.967.296 //2^64 = 18.446.744.073.709.551.616 #define u8 uint8_t //255 #define u16 uint16_t//65.535 #define u32 uint32_t// 4.294.967.295 #define i8 int8_t //+-127 #define i16 int16_t #define i32 int32_t #define v volatile #define _BV(x) (1<<x) #define GLUE(a, b) a##b #define false 0 #define true 1 //avr specific #define PORT(x) GLUE(PORT, x) #define PIN(x) GLUE(PIN, x) #define DDR(x) GLUE(DDR, x)
in „stm32f103 i2c_read“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
i2c.pdf
BIT_RATE 0x50 #define POINTER_ADDRESS 0x00 #define SCL_CLOCK 10000UL uint8_t error1 = 0; #if defined (__AVR_ATmega32__) || (__AVR_ATmega328__) || defined (__AVR_ATmega328P__) || \ defined(__AVR_ATmega168P__) || defined(__AVR_ATmega168PA__) || \ defined(__AVR_ATmega88P__) || \ defined(__AVR_ATmega48P__) ||
in „Programm läuft nur mit JTAG Fuse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
timer.c
#ifdef __AVR_ATmega644__ #define portCLEAR_COUNTER_ON_MATCH (( unsigned portCHAR ) (1<<WGM12 )) #define portPRESCALE_64 (( unsigned portCHAR ) (1<<CS11 ) | (1<<CS10)) #define portCOMPARE_MATCH_A_INTERRUPT_ENABLE (( unsigned portCHAR ) (1<<OCIE1A)) #define portCLOCK_PRESCALER (( unsigned portLONG ) 64 ) #else /* ATMega32 */ #define portCLEAR_COUNTER_ON_MATCH (( unsigned portCHAR ) 0x08 ) #define portPRESCALE_64 (( unsigned portCHAR ) 0x05 ) #define portCLOCK_PRESCALER (( unsigned portLONG ) 64 ) #
in „FreeRTOS und ATMega644“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_Stamp_sheet_V1_1.pdf
26 SDA 30 30 M1 25 SCL 31 31 MREQ (SCL/INT0)PD0 32 32 IORQ 9 CLKO C (CLKO/ICP3/INT7)PE7 C (T3/INT6)PE6 8 INT6 PINHD-1X3P2ISNMHDL-1X32SMAL (OC3C/INT5)PE5 7 INT5 6 PE4 (OC3B/INT4)PE4 5 PE3 (OC3A/AIN1)PE3 4 PE2 (XCK0/AIN0)PE2 TXD0 (TXD0/PDO)PE1 3 (RXD0/
in „Z180-Stamp Modul“ · Mikrocontroller und Digitale Elektronik ·