-
Datei
mmc_stm32f1.c
*/ #define ACMD13 (0x80+13) /* SD_STATUS (SDC) */ #define CMD16 (16) /* SET_BLOCKLEN */ #define CMD17 (17) /* READ_SINGLE_BLOCK */ #define CMD18 (18) /* READ_MULTIPLE_BLOCK */ #define CMD23 (23) /* SET_BLOCK_COUNT (MMC) */ #define ACMD23 (0x80+23) /* SET_WR_BLK_ERASE_COUNT (SDC) */ #define CMD24 (24)
in „STM32F103: Problem mit ChanFat und SD karte“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mmc_stm32f1.c
*/ #define ACMD13 (0x80+13) /* SD_STATUS (SDC) */ #define CMD16 (16) /* SET_BLOCKLEN */ #define CMD17 (17) /* READ_SINGLE_BLOCK */ #define CMD18 (18) /* READ_MULTIPLE_BLOCK */ #define CMD23 (23) /* SET_BLOCK_COUNT (MMC) */ #define ACMD23 (0x80+23) /* SET_WR_BLK_ERASE_COUNT (SDC) */ #define CMD24 (24)
in „STM32F103 diskio.c für Chan FatFs SD Karten Treiber“ · Projekte & Code ·
-
Datei
mmc_stm32f1.c
*/ #define ACMD13 (0x80+13) /* SD_STATUS (SDC) */ #define CMD16 (16) /* SET_BLOCKLEN */ #define CMD17 (17) /* READ_SINGLE_BLOCK */ #define CMD18 (18) /* READ_MULTIPLE_BLOCK */ #define CMD23 (23) /* SET_BLOCK_COUNT (MMC) */ #define ACMD23 (0x80+23) /* SET_WR_BLK_ERASE_COUNT (SDC) */ #define CMD24 (24)
in „STM32F103 Bluepill mit 128kb lässt sich nicht flashen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
reference_manual.pdf
18 17 16 Reserved 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 IDR[7:0] Reserved rw rw rw rw rw rw rw rw Doc ID 13902 Rev 14 63/1096 CRC calculation unit RM0008 Bits 31:8 Reserved, must be kept at reset value. Bits
in „I2S zwischen STM32F103RET6 und PCM3168A möglich?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
_DS1990R-DS1990R-F5.pdf
unique serial number. The last 8 bits is a slave device. The bus master is typically a micro- 9 are a CRC of the first 56 bits. See Figure 2 for details. controller or PC. For small configurations, the 1-Wire The 1-Wire CRC is generated using a polynomial gen- 1 erator consisting of a shift register and
in „1-Wire: iButton: sendet keine Daten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rfm12.h
/*************************************************************************** * rfm12.h * * Sun Apr 17 17:41:35 2011 * Based on Firmware version 2.0.1 by Jürgen Eckert * -> http://www.mikrocontroller.net/articles/AVR_RFM12 * Ported to OpenMcp by Jan Wissel * OpenMcp, by Dirk Broà wick * <sharandac@snafu.de
in „RFM12 zuckt nicht ein bisschen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mmc.c
Enable PB22 } // setup usart1 in spi mode void initSPI (void) { s_pPioA->PIO_PDR = BIT13 | BIT16 | BIT17 | BIT18; s_pPioA->PIO_ASR = BIT13 | BIT16 | BIT17 | BIT18; s_pPioA->PIO_BSR = 0; //enable the clock of SPI s_pPMC->PMC_PCER = 1 << AT91C_ID_SPI0; // Fixed mode s_pSpi->SPI_CR = 0x81; //SPI Enable, Sowtware
in „NMEA-Daten auf der SD-Karte im KML-Format speichern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR_Test_Board.c
RFMW_TX_Payload_NoAck 0b10110000 #define RFMNop 0xFF const uint8_t bank0Init[][2]= { { (0x20|0x00), 0x0F }, //Disable CRC ,CRC=1byte, POWER UP, TX { (0x20|0x01), 0x3F }, //Enable auto acknowledgement data pipe0 { (0x20|0x02), 0x3F }, //Enable RX Addresses pipe0 { (0x20|0x03), 0x03 }, //RX/TX address field width 5byte { (0x20|0x04), 0xFF }, //auto retransmission disabled { (0x20|0x05), 0x17 }, //channel = 18 { (0x20|0x06), 0x3F }, //air data rate-1M,out power 0dbm,setup LNA gain-20dB { (0x20|0x07), 0x07 },// { (0x20|0x08), 0x00 },// { (0x20|0x09), 0x00 },//> { (0x20|0x0C), 0xc3 }, //LSB
in „Total angekotzt von AVR-Studio, ist mir noch zu helfen?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MQTT.ino
mqtt_publish_int("feeds/integer/heizung/rx-count", lon_stat.rx_count); mqtt_publish_int("feeds/integer/heizung/rx-crc", lon_stat.crc_errors); mqtt_publish_int("feeds/integer/heizung/fehlercode", lon_stat.error); mqtt_publish_int("feeds/integer/heizung/drehzahl", lon_stat.var_nv_12); mqtt_publish_int("feeds/integer/
in „LON Bus Windhager mitlesen/steuern“ · Softwareentwicklung ·
-
PDF
FeuchteSHT7x.pdf
significant bit) zuerst, rechtsbündig (d.h. Das fünfte SCK ist das MSB bei einem 12Bit Wert). Das nach den CRC Daten folgende Bestätigungsbit (ack, acknowledge) beendet dann die Kommunikation. Falls die CRC-8 Checksumme nicht verwendet werden soll, kann der Kontroller die Kommunikation bereits nach dem LSB (
in „Suche Elektronikbastler“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
XCS20-3VQ100C.pdf
- - - - - 6/4/97 BG256 CS280 VCC Pins C14 D6 D7 D11 D14 D15 VCC Pins E20 F1 F4 F17 G4 G17 A1 A7 C10 C17 D13 G1 K4 L17 P4 P17 P19 R2 G1 G19 K2 K17 M4 N16 R4 R17 U6 U7 U10 U14 T7 U3 U10 U17 W13 - U15 V7 W20 - - - GND Pins 76 www.xilinx.com DS060 (v1.8) June 26, 2008 Product Specification
in „[V] Spartan FPGA“ · Markt ·
-
PDF
TMC2209_datasheet_rev1.07.pdf
correctly received write access datagram. 𝐶𝑅𝐶 = 𝑥 + 𝑥 + 𝑥 + 𝑥2 1 0 S ERIAL CALCULATION EXAMPLE CRC = (CRC << 1) OR (CRC.7 XOR CRC.1 XOR CRC.0 XOR [new incoming bit]) C-C ODE EXAMPLE FOR CRC CALCULATION void swuart_calcCRC(UCHAR* datagram, UCHAR datagramLength) { int i,j; UCHAR* crc = datagram + (
in „Industrielle [3D-Drucker] Bastelgrundlagen“ · Mechanik, Gehäuse, Werkzeug ·
-
Datei
decodeMeterMT174.h
ValueScale; int SingleValue; int SerialSpeed; uint32_t value0; uint32_t value1; uint32_t value2; uint16_t CRC_ccitt; uint16_t CRC_meter; bool Bezug1OK; bool Bezug2OK; bool Bezug3OK; bool FeedInOK; char MeterManu[6]; char ExtractValue[14]; int SearchOBIS(char *searchCode, int slength); int CheckOBIS(char *checkCode
in „Digitale Stromzähler auslesen und in DB speichern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
BT-WiFi-52rf5541.pdf
............................. 17 6.3 External Data Memory (XDATA space)............................................................ 17 6.4 Internal Data Memory (IDATA space)...........................................................
in „JDY-40 ein neuer Geniestreich aus China?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sd_spi_stm32.c
define ACMD13 (0xC0+13) /* SD_STATUS (SDC) */ #define CMD16 (0x40+16) /* SET_BLOCKLEN */ #define CMD17 (0x40+17) /* READ_SINGLE_BLOCK */ #define CMD18 (0x40+18) /* READ_MULTIPLE_BLOCK */ #define CMD23 (0x40+23) /* SET_BLOCK_COUNT (MMC) */ #define ACMD23 (0xC0+23) /* SET_WR_BLK_ERASE_COUNT (SDC) */ #define
in „STM32 - SPI Schnittstelle empfängt mal korrekt und dann wieder nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4xx.h
0x00080000) /*!<Bit 1 */ #define ADC_SMPR1_SMP16_2 ((uint32_t)0x00100000) /*!<Bit 2 */ #define ADC_SMPR1_SMP17 ((uint32_t)0x00E00000) /*!<SMP17[2:0] bits (Channel 17 Sample time selection) */ #define ADC_SMPR1_SMP17_0 ((uint32_t)0x00200000) /*!<Bit 0 */ #define ADC_SMPR1_SMP17_1 ((uint32_t)0x00400000) /*!<Bit
in „STM32F0 Discovery und UART1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4xx.h
0x00080000) /*!<Bit 1 */ #define ADC_SMPR1_SMP16_2 ((uint32_t)0x00100000) /*!<Bit 2 */ #define ADC_SMPR1_SMP17 ((uint32_t)0x00E00000) /*!<SMP17[2:0] bits (Channel 17 Sample time selection) */ #define ADC_SMPR1_SMP17_0 ((uint32_t)0x00200000) /*!<Bit 0 */ #define ADC_SMPR1_SMP17_1 ((uint32_t)0x00400000) /*!<Bit
in „STM32F4 SPI Problem“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MS5611-01BA01.pdf
, with LCP cap 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 SCLK CSB SDI READING 16BIT PROM VALUE MSB FIRST SDO PS Figure 9: PROM Read sequence, address = 011 (Coefficient 3). 2 I C INTERFACE COMMANDS 2 Each I C communication message starts
in „16 oder 24 bit mit SPI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ENDAT.pdf
Laufzeitkompensation wird mit dem Cyclic Redundancy Check Taktfrequenz c 100 kHz ... 2 MHz 100 kHz ... 16 MHz (CRC) abgeschlossen. Anschließend folgen bei EnDat 2.2 die Zusatzinformationen 1 und 2, jeweils Rechenzeit für ebenfalls abgeschlossen durch einen CRC. Positionswert cal EnDat 2.2-Geräte typisch: 5 µs
in „CRC Polynom für EnDAT Encoder“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM22_Config.h
Period 1 0x00, // 0x15 - Wake-Up Timer Period 2 0x00, // 0x16 - Wake-Up Timer Period 3 0x00, // 0x17r - Wake-Up Timer Value 1 0x00, // 0x18r - Wake-Up Timer Value 2 //20 0x00, // 0x19 - Low-Duty Cycle Mode Duration 0x14, // 0x1A - Low Battery Detector Threshold 0x00, // 0x1Br- Battery Voltage Level
-
Datei
SDMMC.c
SEND_OP_COND (CMD1) #define SEND_CSD 9 #define SEND_CID 10 #define SET_BLEN 16 #define READ_SINGLE 17 #define WRITE_SINGLE 24 #define APP_CMD 55 #define SEND_APP_OP 41 // SD card responses #define DATA_START 0xFE #define DATA_ACCEPT 0x05 void initSD( void) { _RG9 = 1; // Ensure that LCD Select is inactive
in „Problem mit SD-Karte / Pull-Ups ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config-bpir2.txt
y CONFIG_GENERIC_NET_UTILS=y CONFIG_GENERIC_PCI_IOMAP=y CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y # CONFIG_CRC_CCITT is not set # CONFIG_CRC16 is not set # CONFIG_CRC_T10DIF is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC32_SELFTEST is not set CONFIG_CRC32_SLICEBY8=y # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set # CONFIG_CRC64 is not set # CONFIG_CRC4 is not set # CONFIG_CRC7 is not set CONFIG_LIBCRC32C=m # CONFIG_CRC8 is not set # CONFIG_RANDOM32_SELFTEST
in „Linux Kernel 5.1.1. auf dem BPi-R2“ · PC Hard- und Software ·
-
PDF
2.transceiver_si4468.pdf
load the bits after the sync word into the RX FIFO forever. Other features, such as Data Whitening, CRC, Manchester, etc., are supported in this mode, but CRC calculation is not because the end of packet is unknown to the device. The RX data and clock are also available on GPIO pins. The host MCU will
in „Transceiver Si4467 SPI Transfer PIC24“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
GD32F350xx_DS_v1.1.pdf
1 1 1 1 1 1 1 1 1 GPIO 24 24 24 27 27 27 39 39 39 39 55 55 55 55 Capacitive Touch14 14 14 14 14 14 17 17 17 17 18 18 18 18 Channels Analog Comparator 2 2 2 2 2 2 2 2 2 2 2 2 2 2 EXTI 16 16 16 16 16 16 16 16 16 16 16 16 16 16 Units 1 1 1 1 1 1 1 1 1 1 1 1 1 1 C A Channels (Ext.)0 10 10 10 10 10 10 10
in „"NUCLEO"-Borads von GigaDevice“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
GD32F350xx_DS_v1.1.pdf
1 1 1 1 1 1 1 1 1 GPIO 24 24 24 27 27 27 39 39 39 39 55 55 55 55 Capacitive Touch14 14 14 14 14 14 17 17 17 17 18 18 18 18 Channels Analog Comparator 2 2 2 2 2 2 2 2 2 2 2 2 2 2 EXTI 16 16 16 16 16 16 16 16 16 16 16 16 16 16 Units 1 1 1 1 1 1 1 1 1 1 1 1 1 1 C A Channels (Ext.)0 10 10 10 10 10 10 10
in „"NUCLEO"-Borads von GigaDevice“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
CAN_v3_0.pdf
Bus off interrupt. Indicates that the CAN node has reached the Bus off state. Enabled by default. CRC error detected Enable or disable CRC error interrupt. Indicates that a CAN CRC error was detected. Disabled by default. Page 10 of 52 Document Number: 001-96130 Rev. *C PSoC Creator™ Component Datasheet
in „Dev-Board mit mind. 4 x Delta-Sigma-ADC & CAN-BUS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sd_raw.c
stuff bits, response R3 */ #define CMD_READ_OCR 0x3a /* CMD59: arg0[31:1]: stuff bits, arg0[0:0]: crc option, response R1 */ #define CMD_CRC_ON_OFF 0x3b /* command responses */ /* R1: size 1 byte */ #define R1_IDLE_STATE 0 #define R1_ERASE_RESET 1 #define R1_ILL_COMMAND 2 #define R1_COM_CRC_ERR 3 #define
-
PDF
EMMC-32GB-1.pdf
...................................................................................................17 7.1. eMMC 153 Ball Array view.....................................................................................17 7.2. eMMC Pin Description.........................................................
in „Pinout Flexansvhlusskabel 8-Pin an eMMC Flash-Card 32GB gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
TM56E6422-tenxtechnology.pdf
16 CRCDL (187h.7~0) 16 Unit CRCDH (188h.7~0) CRC16 Block Diagram The CRC generator provides the 16-bit CRC result calculation based on the CRC-16-IBM polynomial. In this CRC generator, there is only one polynomial available for the numeric values
in „MCU identifikation/Datenblatt - MC9989A0ZQ“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
BGW211_Preliminary_Datasheet_v1.1.pdf
Symbol Parameter Conditions Min Typ Max Unit Linear output power Maximum output power in 802.11b 12 17 19 dBm mode Maximum output power in 802.11g 12 17 19 dBm mode, 6-36 Mbit/sec Maximum output power in 802.11g 10 15 17 dBm mode, 48-54 Mbit/sec Output power dynamic range in — 25 — dB 802.11b mode Output
in „PHILIPS VP5500 VoIP Telefon bei Pollin“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AN162.pdf
shift the bit mask k if(k==0) // if the mask is 0 then go to new ROM { // byte n and reset mask ow_crc(ROM[n]); // accumulate the CRC n++; k++; } } }while(n<8); //loop until through all ROM bytes 0-7 if(m<65||dowcrc) // if search was unsuccessful then lastDiscrep=0; // reset the last discrepancy to 0
in „Temperaturfühler identifizieren“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
RDA5851S.pdf
format: ○ 1 Start byte. ○ 2 Size bytes. ○ 1 Flow Identification byte. ○ N Message Body bytes. ○ 1 CRC byte. The start byte is 0xAD, which starts a message frame. The 2 size bytes indicates the length of the message ( the length of how many bytes after SIZE field, equals to N Message Body byte + 1 CRC
-
Datei
test_1_ds1820.txt
.include "m8515def.inc" .equ clock = 14745600 ; .def null = r14 .def wl = r16 .def temp2 = r17 .def temp3 = r18 .def loop1 = r19 .def loop2 = r20 .equ lcdcontroller1 = 4 ;Flag für Controller 1 .equ lcdcontroller2 = 6 ;Flag für Controller 2 .def flags = r23 ;Steuerflags .def wl = r24 ;Working L
in „Temperatur DS1820 ausgabe auf lcd“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM22_Config.c
Interrupt_Enablel1._byte = 0x00; // clear the complete byte RFM22_Register._0x05_Interrupt_Enablel1.CRC_Error = 1; RFM22_Register._0x05_Interrupt_Enablel1.Valid_Packet_Received = 1; RFM22_Register._0x05_Interrupt_Enablel1.Packet_Sent = 1; // RFM22_Register._0x06_Interrupt_Enablel2._byte = 0x00; RFM22_
-
Datei
rf22.c
write(0x3c, 'p'); // transmit header 1 rf22_write(0x3d, 'e'); // transmit header 0 rf22_write(0x3e, 17); // packet length rf22_write(0x3f, 'h'); // check header 3 rf22_write(0x40, 'o'); // check header 2 rf22_write(0x41, 'p'); // check header 1 rf22_write(0x42, 'e'); // check header 0 rf22_write(0x43,
in „rfm22b Empfänger läuft nicht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Anbindung_von_SD-Karten.pdf
und zur Karte mandos an die SD- oder che Datenrate vom Host in ler integriertes MCI-Modul sowie die CRC-Prüfung. Mit- MMC-Karte stellt das MCI die den karteninternen Puffer- kann mehrere MCI-Slots ent- hilfe des integrierten Direct- Register MCI_CMDR (Kom- speicher an und ergibt sich halten, wobei an
in „SD Karte Initialisieren -> Error“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MS5611-01BA03.pdf
4096 7.40 8.22 9.04 2048 3.72 4.13 4.54 Conversion time tc 1024 1.88 2.08 2.28 ms 512 0.95 1.06 1.17 256 0.48 0.54 0.60 DA5611-01BA03_011 www.meas-spec.com Oct. 26, 2012 000056111624 ECN1742 2/20 MS5611-01BA03 Barometric Pressure Sensor, with stainless steel cap PERFORMANCE SPECIFICATIONS (CONTINUED
in „MSP430 Launchpad und MS5611 Sensor“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DM00135183.pdf
register bits Can be used as a temporary storage location for one byte. This register is not affected by CRC resets generated by the RESET bit in the CRC_CR register. 4.4.3 Control register (CRC_CR) Address offset: 0x08 Reset value: 0x0000 0000 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Res. Res. Res.
in „STM32F446 FMP I2C kein Open Drain möglich?!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds1820.ASM
2313def.inc" .def befehl = r0 ;enthält den auszugebenden 8bit-befehl .def temp1 = r16 .def temp2 = r17 .def temp3 = r18 .def delay1 = r19 .def delay2 = r20 .def delay3 = r22 .equ temperature_lsb = 0x060 ;speicherstellen definieren .equ temperature_msb = 0x061 .equ TH_register = 0x062 .equ TL_register
in „DS18S20 Temperatur-Sensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DS1820.txt
2313def.inc" .def befehl = r0 ;enthält den auszugebenden 8bit-befehl .def temp1 = r16 .def temp2 = r17 .def temp3 = r18 .def delay1 = r19 .def delay2 = r20 .def delay3 = r22 .equ temperature_lsb = 0x060 ;speicherstellen definieren .equ temperature_msb = 0x061 .equ TH_register = 0x062 .equ TL_register
in „Programmänderung DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DS1820_1.asm
8515def.inc" .def befehl = r0 ;enthält den auszugebenden 8bit-befehl .def temp1 = r16 .def temp2 = r17 .def temp3 = r18 .def delay1 = r19 .def delay2 = r20 .def delay3 = r22 .equ temperature_lsb = 0x060 ;speicherstellen definieren .equ temperature_msb = 0x061 .equ TH_register = 0x062 .equ TL_register
in „Programmänderung DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds1820.ASM
2313def.inc" .def befehl = r0 ;enthält den auszugebenden 8bit-befehl .def temp1 = r16 .def temp2 = r17 .def temp3 = r18 .def delay1 = r19 .def delay2 = r20 .def delay3 = r22 .equ temperature_lsb = 0x060 ;speicherstellen definieren .equ temperature_msb = 0x061 .equ TH_register = 0x062 .equ TL_register
in „Temperatur mit DS18S20 auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
_ATSAMD20E18A-MU.pdf
Microchip Technology Inc. Datasheet Complete DS60001504B-page 206 SAM D20 Family WDT – Watchdog Timer 17.3 Block Diagram Figure 17-1. WDT Block Diagram 0xA5 0 CLEAR GCLK_WDT COUNT PER/WINDOW/EWOFFSET Early Warning Interrupt Reset 17.4 Signal Description Not applicable. 17.5 Product Dependencies In order
in „Exposed Pad anschließen? (ATSAMD20E18A-MU und ELMOS E981.03)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test_ds1820.asm
befehl = r0 ;enthält den auszugebenden 8bit-befehl .def NOTIZ = r1 . .def temp4 = r16 .def temp = r17 .def temp1 = r18 .def temp2 = r19 .def temp3 = r20 .def delay1 = r21 .def delay2 = r22 .dseg ;SRAM-Variablen M128 temp_lsb: .byte 1 temp_msb: .byte 1 th_reg: .byte 1 tl_reg: .byte 1 res1: .byte 1 res2: .byte 1 count_re: .byte 1 count_pc: .byte 1 crc: .byte 1 id_rom: .byte 1 .cseg .org 0x000 ; Reset- und Interrupt-Vektoren AT-Mega 128 jmp reset ; Reset Handler jmp nix;jmp EXT_INT0 ; IRQ0 Handler jmp nix;jmp EXT_INT1 ; IRQ1 Handler jmp nix;jmp EXT_INT2
in „Temperatur DS1820 ausgabe auf lcd“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM22.c
Interrupt_Enablel1._byte = 0x00; // clear the complete byte RFM22B_Register._0x05_Interrupt_Enablel1.CRC_Error = 1; RFM22B_Register._0x05_Interrupt_Enablel1.Valid_Packet_Received = 1; RFM22B_Register._0x05_Interrupt_Enablel1.Packet_Sent = 1; // RFM22B_Register._0x06_Interrupt_Enablel2._byte = 0x00; RFM22B_Register
in „RFM22B Beispiel Projekt gesucht.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Servo_Send_683.asm
Datarate:2Mbps, LNA:HCURR movwf Wert call Spi_W_R bsf CSN return Config_RX: ;Set PWR_UP bit, enable CRC(2 bytes) & Prim:RX. movlw 0x20; movwf Wert bcf CSN call Spi_W_R movlw 0x0f; Set PWR_UP bit, enable CRC(2 bytes) & Prim:RX. RX_DR enabled.. movwf Wert call Spi_W_R bsf CSN bsf CE return Config_TX: ;Set PWR_UP bit, enable CRC(2 bytes) & Prim:TX. bcf CE movlw 0x20; movwf Wert bcf CSN call Spi_W_R movlw 0x0e; Set PWR_UP bit, enable CRC(2 bytes) & Prim:TX. TX_DR enabled.. movwf Wert call Spi_W_R bsf CSN MOVLW D'2' ;config nRF2401
in „Servo Motoren (2 Positionen) mit PIC steuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Servo_Receive_683.asm
Datarate:2Mbps, LNA:HCURR movwf Wert call Spi_W_R bsf CSN return Config_RX: ;Set PWR_UP bit, enable CRC(2 bytes) & Prim:RX. movlw 0x20; movwf Wert bcf CSN call Spi_W_R movlw 0x3f; Set PWR_UP bit, enable CRC(2 bytes) & Prim:RX. RX_DR enabled.. movwf Wert; mask only RX_DR IRQ call Spi_W_R bsf CSN return Config_TX: ;Set PWR_UP bit, enable CRC(2 bytes) & Prim:TX. movlw 0x20; movwf Wert bcf CSN call Spi_W_R movlw 0x0e; Set PWR_UP bit, enable CRC(2 bytes) & Prim:TX. TX_DR enabled.. movwf Wert call Spi_W_R bsf CSN MOVLW D'4' ;config nRF2401
in „Servo Motoren (2 Positionen) mit PIC steuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
enc28j60.c
EDMADSTL (0x14) #define BANK0_EDMADSTH (0x15) #define BANK0_EDMACSL (0x16) #define BANK0_EDMACSH (0x17) /* Registers in Bank1: */ #define BANK1_EHT0 (0x00) #define BANK1_EHT1 (0x01) #define BANK1_EHT2 (0x02) #define BANK1_EHT3 (0x03) #define BANK1_EHT4 (0x04) #define BANK1_EHT5 (0x05) #define BANK1_EHT6
in „ENC28j60 Initialisierung OK aber keine Verbindung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mmctest.c
/* CMD1 */ #define SPI_STOP_TRANSMISSION 0x0c /* CMD12 */ #define SPI_READ_SINGLE_BLOCK 0x11 /* CMD17 */ #define SPI_READ_MULTIPLE_BLOCK 0x12 /* CMD18 */ /* SPI SD responses */ #define SPI_RESPONSE_SUCCESS 0 /* R1 response */ #define SPI_RESPONSE_DATA 0xfe /* for CMD17/18 */ #define SD_ACCESS_BENCH 1
in „Zugriffszeit auf SD/MMC über SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rf22.c
write(0x3c, 'p'); // transmit header 1 rf22_write(0x3d, 'e'); // transmit header 0 rf22_write(0x3e, 17); // packet length rf22_write(0x3f, 'h'); // check header 3 rf22_write(0x40, 'o'); // check header 2 rf22_write(0x41, 'p'); // check header 1 rf22_write(0x42, 'e'); // check header 0 rf22_write(0x43,
in „RFM22B Interrupt Empfang“ · Mikrocontroller und Digitale Elektronik ·