-
Datei
32divisor.txt
dann der Rest der Division ; lc = <don't care> (high register must be allocated) (1) Es muss ein Wert zugewiesen werden, aber wozu? ; ; Result:var1[3:0] = var1[3:0] / var2[3:0] Dividend ; var2[3:0] = <not changed> Divisor ; mod[3:0] = var1[3:0] % var2[3:0] Rest der Division (was nicht mehr geteilt werden kann) ; lc = 0 lc = loopcounter? ; ; Size = 26 words ; Clock = 549..677 cycles (+ret) ; Stack = 0 bytes div32u: clr mod0 ;initialize variables Rest der Division wird
in „[avrassembler] Division Problem mit Rest“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simstruc.h
GEN_FCN_CHECK_STRUCTPARAM_CHECKSUM, GEN_FCN_GET_PARAM_DATATYPE, GEN_FCN_GET_SIMULATIONTYPE, GEN_FCN_GET_NET_SLOPE_VIA_DIVISION, GEN_FCN_SET_MODELREF_ALLOW_IN_STATE_ENABLED_SS, GEN_FCN_CHK_MODELREF_OPTIM_SETTINGS, GEN_FCN_GET_IS_INPORT_ELEMENT_CONTINUOUS, GEN_FCN_SET_IS_INPORT_USEDFOR_CONT_ZC, GEN_FCN_CREATE_AND_ADD_ZCSIGNAL_INFO
in „no such instruction 'sei'“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
senden_zur_microcontroler.cpp
alle_Motortakten_x[b2_x]; for(b_x=1 ; b_x <= 16 ; b_x++) { bin_x[b_x]=(result%2); // (result%2)---> Divisionsrest von result dividiert durch 2. result /= 2 ; //result = result/2; } for( b_x=16 ; b_x > 0 ; b_x-- ) { cout << bin_x[b_x]; // Darstellung der x-Koordinaten in Binärzahl } cout << endl; b2_x++; }
in „Datenübertragung über UART zu 2xSMCi33-2 von Nanotec“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
arm_atan2_f32.c
0x01; } else /* x >= y */ { if (x > 0.0f) in = y / x; else /* both are 0.0 */ in = 0.0; /* prevent division by 0 */ } /* Calculation of index of the table */ index = (uint32_t) (tableSize * in); /* fractional value calculation */ fract = ((float32_t) tableSize * in) - (float32_t) index; /* Initialise table
in „atan2 Funktion mit lookup table für arm“ · Projekte & Code ·
-
Datei
ATmega2560.xml
> <TEXT>These bits determine the division factor between the XTAL frequency and the input clock to the ADC.</TEXT> <ACCESS>RW</ACCESS> <INIT_VAL>0</INIT_VAL> </BIT1> <BIT0> <NAME>ADPS0</NAME> <DESCRIPTION>ADC Prescaler Select Bits</DESCRIPTION> <TEXT>These bits determine the division factor between the XTAL frequency and the input clock to the ADC.</TEXT> <ACCESS>RW</ACCESS> <ENUM>ANALIG_ADC_PRESCALER</ENUM> <INIT_VAL>0</INIT_VAL> </BIT0> </ADCSRA> <ADCSRB> <NAME>ADCSRB</NAME>
in „Eclipse AVR win32 komplett?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
div40.asm
********************************************************************** ;* ;* 40/40 Bit Unsigned Division ;* ;* r25:r24:r23:r22:r21 = r20:r19:r18:r17:r16 / r25:r24:r23:r22:r21 ;* r20:r19:r18:r17:r16 = Rest ;* ;**************************************************************************************** div40u
in „AVR ASM Modulo“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
senden_zur_microcontroler.cpp
alle_Motortakten_x[b2_x]; for(b_x=1 ; b_x <= 16 ; b_x++) { bin_x[b_x]=(result%2); // (result%2)---> Divisionsrest von result dividiert durch 2. result /= 2 ; //result = result/2; } for( b_x=16 ; b_x > 0 ; b_x-- ) { cout << bin_x[b_x]; // Darstellung der x-Koordinaten in Binärzahl } cout << endl; b2_x++; }
in „Datenübertragung über USART0 und USART1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
objdump.txt
800539e: 429a cmp r2, r3 80053a0: d008 beq.n 80053b4 <TIM_TimeBaseInit+0xa4> { /* Set the clock division */ tmpcr1 &= (uint16_t)(~TIM_CR1_CKD); 80053a2: 89fb ldrh r3, [r7, #14] 80053a4: f423 7340 bic.w r3, r3, #768 ; 0x300 80053a8: 81fb strh r3, [r7, #14] tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_ClockDivision
in „STM32F4 HardFault Interrupt bei stdlib Funktionen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
init.c
abtastzeit von 100kHz // TIM_TimeBaseStructure.TIM_Prescaler = 2; // TIM_TimeBaseStructure.TIM_ClockDivision = 8; // TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; // // TIM_TimeBaseInit(TIM2, &TIM_TimeBaseStructure); // // /* Output Compare Toggle Mode configuration: Channel1 */ // TIM_OCInitStructure.TIM_OCMode
in „STM32 ADC Fehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sound_out.txt
------------------------ ANDI phakku1, 0xF0 ; 1 Lower Nibble in Byte 0 abnullen LSR phakku2 ; 1 Division durch 8 (16-Bit) ROR phakku1 ; 1 LSR phakku2 ; 1 ROR phakku1 ; 1 LSR phakku2 ; 1 ROR phakku1 ; 1 // Waveform-Selektion // ------------------ LDS dcowave, DcoWaveForm ; 2 Wellenform-Selektion laden
-
Datei
AVR_Synthi_FM.txt
------------------------ ANDI phakku1, 0xF0 ; 1 Lower Nibble in Byte 0 abnullen LSR phakku2 ; 1 Division durch 8 (16-Bit) ROR phakku1 ; 1 LSR phakku2 ; 1 ROR phakku1 ; 1 LSR phakku2 ; 1 ROR phakku1 ; 1 // Sinus-Sample über aktive Phase aus Wavetable laden // ------------------------------------------
-
Datei
frq_uni_628.asm
************* ;************************************************************** ;primitive 32 bit Division f:= f / xw ; Rest der Division in xw ; Div32 clrf g0 decf g0, f clrf g1 decf g1, f clrf g2 decf g2, f clrf g3 decf g3, f Div32Loop incf g0, f btfsc STATUS, Z incf g1, f btfsc STATUS, Z incf g2, f
in „PIC 16F628A Problem (Frequenzzähler von sprut)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
souce_code_esrM.txt
<porog3, then on step6_3_0, otherwise further inc k_del; Increase Amendment 1 (increase in the division) step6_3_0: rjmp step7; On step7 step6_3_1: ldi z1, 0x80; Record of the 1st byte of the switching threshold for the proportion Farad (10000000) ldi z2, 0x96; Record of the 2nd byte of the switching
in „Lcd zweite zeile wird nicht angesprochen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
esr_messgeraet.asm
<porog3, then on step6_3_0, otherwise further inc k_del; Increase Amendment 1 (increase in the division) step6_3_0: rjmp step7; On step7 step6_3_1: ldi z1, 0x80; Record of the 1st byte of the switching threshold for the proportion Farad (10000000) ldi z2, 0x96; Record of the 2nd byte of the switching
in „Lcd zweite zeile wird nicht angesprochen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Differentielle_Spannungsmessung.bas
' Einstellungen gemäß Datenblatt ab Seite 200 Adcsra.5 = 1 ' Auto Trigger enable Adcsra.2 = 1 ' Division Factor = 64 Adcsra.1 = 1 ' Division Factor = 64 Adcsra.0 = 0 ' Division Factor = 64 Adcsra.7 = 1 ' ADC Enable Adcsra.6 = 1 ' ADC Start Conversion Admux = &B11101001 ' für (ADC1 - ADC0)x10, Uref=2.56V
in „Differentielle Spannungsmessung ATMEGA32“ · Projekte & Code ·
-
Datei
gLCD.h
Init the display in graphic mode, master. * Set size (number of bytes in horizontal) * Set time division, duty ratio * * PreCondition: None * * Input: None * * Output: None * * Side Effects: None ********************************************************************/ void LCD_Init(void){ unsigned char
in „GLCD hängt sich nach einer Weile auf“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
oled.c
"o - 0x00F6 Latin Small Letter O with Diaeresis {0x08,0x08,0x2A,0x08,0x08}, // (177) + - 0x00F7 Division Sign {0x38,0x64,0x54,0x4C,0x38}, // (178) o - 0x00F8 Latin Small Letter O with Stroke {0x38,0x41,0x42,0x20,0x78}, // (179) `u - 0x00F9 Latin Small Letter U with Grave {0x38,0x40,0x42,0x21,0x78}, /
in „ODM100 OLED bleibt schwarz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gLCD.c
Init the display in graphic mode, master. * Set size (number of bytes in horizontal) * Set time division, duty ratio * * PreCondition: None * * Input: None * * Output: None * * Side Effects: None ********************************************************************/ void LCD_Init(char on){ unsigned char
in „Berechnung der Übergabeparameter beim Funktionsaufruf klappt nich immer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gLCD.h
LCD_CMD_MODE 0x00 #define LCD_CMD_CHAR_PITCH 0x01 #define LCD_CMD_NUM_CHARS 0x02 #define LCD_CMD_TIME_DIVISION 0x03 #define LCD_CMD_CURSOR_POS 0x04 #define LCD_CMD_DISPLAY_START_LA 0x08 #define LCD_CMD_DISPLAY_START_HA 0x09 #define LCD_CMD_CURSOR_LA 0x0A #define LCD_CMD_CURSOR_HA 0x0B #define LCD_CMD_WRITE_DATA
in „Berechnung der Übergabeparameter beim Funktionsaufruf klappt nich immer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Xmega_test_7_PWM.c
Enable the internal 32 MHz RC oscillator OSC.CTRL|=OSC_RC32MEN_bm; // System Clock prescaler A division factor: 2 n=(CLK.PSCTRL & (~(CLK_PSADIV_gm | CLK_PSBCDIV1_bm | CLK_PSBCDIV0_bm))) | CLK_PSADIV_1_gc | CLK_PSBCDIV_1_1_gc; // Hier kann der Takt umgestellt werden!! CCP=CCP_IOREG_gc; CLK.PSCTRL=n;
in „AtXmega Software PWM (Bsp aus Forum)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
crc.txt
der sie ausgesendet werden, in das Codierwerk eingegeben. Das entspricht der oben beschriebenen Division. Nachdem das letzte Bit eingegeben ist, steht der Divisionsrest in den Registerzellen. Dieser wird in invertierter Form als Blockpruefzeichenfolge ausgesendet. Auch beim Empfaenger wird das Codierwerk
in „Pocsag Checksumme berechnen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
blink.c
TIM_TimeBaseStructInit (&timBase); timBase.TIM_Prescaler = ((SystemCoreClock) / 10000)-1; timBase.TIM_ClockDivision = TIM_CKD_DIV1; timBase.TIM_CounterMode = TIM_CounterMode_Up; timBase.TIM_Period = 5000; TIM_TimeBaseInit (TIM10, &timBase); NVIC_InitStructure.NVIC_IRQChannel = TIM1_UP_TIM10_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority
in „STM32F4: Timerinterrupts nichtdeterministisch“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
R8C029.c
XCIN-XCOUT drive capacity select bit : HIGH */ cm05 = 0; /* Xin on */ cm16 = 0; /* Main clock = No division mode */ cm17 = 0; cm06 = 0; /* CM16 and CM17 enable */ asm("nop"); /* Waiting for stable of oscillation */ asm("nop"); asm("nop"); asm("nop"); ocd2 = 0; /* Main clock change */ prc0 = 0; /* Protect
in „R8C/13 Software-Verständnisfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
R8C029.c
XCIN-XCOUT drive capacity select bit : HIGH */ cm05 = 0; /* Xin on */ cm16 = 0; /* Main clock = No division mode */ cm17 = 0; cm06 = 0; /* CM16 and CM17 enable */ asm("nop"); /* Waiting for stable of oscillation */ asm("nop"); asm("nop"); asm("nop"); ocd2 = 0; /* Main clock change */ prc0 = 0; /* Protect
in „R8C/13 Software-Verständnisfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
R8C029.c
XCIN-XCOUT drive capacity select bit : HIGH */ cm05 = 0; /* Xin on */ cm16 = 0; /* Main clock = No division mode */ cm17 = 0; cm06 = 0; /* CM16 and CM17 enable */ asm("nop"); /* Waiting for stable of oscillation */ asm("nop"); asm("nop"); asm("nop"); ocd2 = 0; /* Main clock change */ prc0 = 0; /* Protect
in „R8C/13 Software-Verständnisfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
R8C029.c
XCIN-XCOUT drive capacity select bit : HIGH */ cm05 = 0; /* Xin on */ cm16 = 0; /* Main clock = No division mode */ cm17 = 0; cm06 = 0; /* CM16 and CM17 enable */ asm("nop"); /* Waiting for stable of oscillation */ asm("nop"); asm("nop"); asm("nop"); ocd2 = 0; /* Main clock change */ prc0 = 0; /* Protect
in „R8C/13 Software-Verständnisfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
R8C029.c
XCIN-XCOUT drive capacity select bit : HIGH */ cm05 = 0; /* Xin on */ cm16 = 0; /* Main clock = No division mode */ cm17 = 0; cm06 = 0; /* CM16 and CM17 enable */ asm("nop"); /* Waiting for stable of oscillation */ asm("nop"); asm("nop"); asm("nop"); ocd2 = 0; /* Main clock change */ prc0 = 0; /* Protect
in „R8C/13 Software-Verständnisfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
R8C029.c
XCIN-XCOUT drive capacity select bit : HIGH */ cm05 = 0; /* Xin on */ cm16 = 0; /* Main clock = No division mode */ cm17 = 0; cm06 = 0; /* CM16 and CM17 enable */ asm("nop"); /* Waiting for stable of oscillation */ asm("nop"); asm("nop"); asm("nop"); ocd2 = 0; /* Main clock change */ prc0 = 0; /* Protect
in „R8C/13 Software-Verständnisfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HSVtoRGB_Controller.asm
Ergebnisregister dient auch als inc r14 ; Zähler bis 16! Bit 1 auf 1 setzen) ; ; Hier beginnt die Divisionsschleife ; hsv_Div42a: clc ; Carry-Bit leeren rol r16 ; nächsthöheres Bit des Dividenten rol r17 ; in das Hilfsregister rotieren rol r18 ; (entspricht Multipliklation mit 2) brcs hsv_Div42b ; Eine 1 ist herausgerollt, ziehe ab cpi r18,42 ; Divisionsergebnis 1 oder 0? brcs hsv_Div42c ; Überspringe Subtraktion, wenn kleiner hsv_Div42b: subi r18,42 ; Subtrahiere Divisor sec ; Setze carry-bit, Ergebnis ist eine 1 rjmp hsv_Div42d ; zum Schieben des Ergebnisses
in „[ASM] DMX512 oder SPI zu RGB Led Controller use HSV Farbraum“ · Projekte & Code ·
-
Datei
Revolights.asm
r21 //Register zum Vergleichen von MatchA und Clock .def divo = r22 //Register für Divisor der Division Kann außerhalb der Division verwendet werden .def xbit = r23 //Register zum 8Bit dividieren Kann außerhalb der Division verwendet werden .def idle = r24 //Register zur Ausgabe des Idle-Modes Kann
in „assembler interrupt aktivieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Revolights.asm
r21 //Register zum Vergleichen von MatchA und Clock .def divo = r22 //Register für Divisor der Division Kann außerhalb der Division verwendet werden .def xbit = r23 //Register zum 8Bit dividieren Kann außerhalb der Division verwendet werden .def idle = r24 //Register zur Ausgabe des Idle-Modes Kann
in „[AVRasm]Stack oder Interruptfehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Revolights.asm
r21 //Register zum Vergleichen von MatchA und Clock .def divo = r22 //Register für Divisor der Division Kann außerhalb der Division verwendet werden .def xbit = r23 //Register zum 8Bit dividieren Kann außerhalb der Division verwendet werden .def idle = r24 //Register zur Ausgabe des Idle-Modes //---
in „Interrupt startet zweimal“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tb_division.vhd
containing your CORE -- Generator output files, to create a VHDL netlist: -- -- netgen -sim -ofmt vhdl division.ngc division_netlist.vhd -- -- Compile division_netlist.vhd into the work library. See your -- simulator documentation for more information on how to do this. -- ------------------------------------
in „Simulation des Divider Generator 3.0“ · FPGA, VHDL & Co. ·
-
Datei
main.c
determined by the internal/external clock //1.000.000/50.000 = 20 | 1.000.000 / 200.000 = 5 -> 16 Division Factor ADCSRA |= 1 <<ADPS2; //8-bit or 10bit results (ADLAR = 0 <- 10bit) //ADMUX |= 1 << ADLAR; //choose Reference Voltage ADMUX |= 1 << REFS0; //Enable interrupts function ADC ADCSRA |= 1 << ADIE
in „MPX4115A Programmierfehler gesucht!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.txt
von MatchA und Clock .def matchH = r22 //ehemals divo; jetzt matchH //Register für Divisor der Division Kann außerhalb der Division verwendet werden .def xbit = r23 //Register zum 8Bit dividieren Kann außerhalb der Division verwendet werden .def stand = r24 //Register zur Ausgabe des Idle-Modes .def
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Tasteninterrupt.txt
//Reseten der LEDS, da ich nun weiß wo ich und die LEDS sind ldi bout, 0x0F clr dout //Schnelle Division //1/2 clc ror divh ror divl //1/4 clc ror divh ror divl //1/8 clc ror divh ror divl //1/16 clc ror divh ror divl mov matchH, divh mov matchL, divl //1/32 clc ror divh ror divl //1/64 clc ror divh
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.txt
von MatchA und Clock .def matchH = r22 //ehemals divo; jetzt matchH //Register für Divisor der Division Kann außerhalb der Division verwendet werden .def xbit = r23 //Register zum 8Bit dividieren Kann außerhalb der Division verwendet werden .def stand = r24 //Register zur Ausgabe des Idle-Modes .def
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Tasteninterrupt.txt
, 0x0F clr dout //Ist wirklich der Taster gedrückt? ldi temp, PIND sbrc temp, 7 reti //Schnelle Division //1/2 clc ror divh ror divl //1/4 clc ror divh ror divl //1/8 clc ror divh ror divl //1/16 clc ror divh ror divl mov matchH, divh mov matchL, divl //1/32 clc ror divh ror divl //1/64 clc ror divh
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ExternalPin_Interrupt.asm
, 0x0F clr dout //Ist wirklich der Taster gedrückt? ldi temp, PIND sbrc temp, 7 reti //Schnelle Division //1/2 clc ror divh ror divl //1/4 clc ror divh ror divl //1/8 clc ror divh ror divl //1/16 clc ror divh ror divl mov matchH, divh mov matchL, divl //1/32 clc ror divh ror divl //1/64 clc ror divh
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Revolights.asm
von MatchA und Clock .def matchH = r22 //ehemals divo; jetzt matchH //Register für Divisor der Division Kann außerhalb der Division verwendet werden .def xbit = r23 //Register zum 8Bit dividieren Kann außerhalb der Division verwendet werden .def stand = r24 //Register zur Ausgabe des Idle-Modes //.def
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ExternalPin_Interrupt.asm
brsh weiter2 reti weiter2: ldi temp, PIND sbrc temp, 7 reti clr temp out TIMSK, temp //Schnelle Division //1/2 clc ror divh ror divl //1/4 clc ror divh ror divl //1/8 clc ror divh ror divl //1/16 clc ror divh ror divl mov matchH, divh mov matchL, divl //1/32 clc ror divh ror divl //1/64 clc ror divh
in „[AVR] Lauflicht Attiny2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbcdc.c
static inline void usb_attach() { UDCON &= ~(1<<DETACH); } void usb_pllon() { PLLCSR = (1<<PLLP0); //division 2 PLLCSR |= (1<<PLLE); while (!(PLLCSR & (1<<PLOCK))) ; } static inline void usb_plloff() { PLLCSR = 0; } static inline void usb_enable() { USBCON |= (1<<USBE); } static inline void usb_disable()
in „AT90usb162 USB COM Interrupt wird nicht ausgelöst“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PWM_code.c
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOA, &GPIO_InitStructure); TIM_TimeBaseInitStructure.TIM_ClockDivision = TIM_CKD_DIV1; TIM_TimeBaseInitStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBaseInitStructure.TIM_Period = 99; TIM_TimeBaseInitStructure.TIM_Prescaler = 23; TIM_TimeBaseInitStructure.TIM_RepetitionCounter
in „Sinuswerte für PWM berechnen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
(GPIOA, &GPIO_InitStructure); //Initialisierung der Timer 2 TIM_TimeBase_InitStructure.TIM_ClockDivision = TIM_CKD_DIV1; TIM_TimeBase_InitStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBase_InitStructure.TIM_Period = 99; TIM_TimeBase_InitStructure.TIM_Prescaler = 23; TIM_TimeBaseInit(TIM2, &
in „Sinuswerte für PWM berechnen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SinusoidalBLDC_v1.2.c
Note: The MeasuredSpeed Calculation is made in assembly to take advantage of the signed fractional division. ********************************************************************/ void __attribute__((interrupt, no_auto_psv)) _T1Interrupt (void) { IFS0bits.T1IF = 0; Period = ActualCapture - PastCapture; /
in „Probleme beim Importieren von Projekten nach Linux MPLAB_X mit MPLAB®XC16 Compiler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ATmega324P.xml
> <TEXT>These bits determine the division factor between the XTAL frequency and the input clock to the ADC.</TEXT> <ACCESS>RW</ACCESS> <INIT_VAL>0</INIT_VAL> </BIT1> <BIT0> <NAME>ADPS0</NAME> <DESCRIPTION>ADC Prescaler Select Bits</DESCRIPTION> <TEXT>These bits determine the division factor between the XTAL frequency and the input clock to the ADC.</TEXT> <ACCESS>RW</ACCESS> <ENUM>ANALIG_ADC_PRESCALER</ENUM> <INIT_VAL>0</INIT_VAL> </BIT0> </ADCSRA> <ADCSRB> <NAME>ADCSRB</NAME>
in „M324def.inc gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ATmega324PA.xml
> <TEXT>These bits determine the division factor between the XTAL frequency and the input clock to the ADC.</TEXT> <ACCESS>RW</ACCESS> <INIT_VAL>0</INIT_VAL> </BIT1> <BIT0> <NAME>ADPS0</NAME> <DESCRIPTION>ADC Prescaler Select Bits</DESCRIPTION> <TEXT>These bits determine the division factor between the XTAL frequency and the input clock to the ADC.</TEXT> <ACCESS>RW</ACCESS> <ENUM>ANALIG_ADC_PRESCALER</ENUM> <INIT_VAL>0</INIT_VAL> </BIT0> </ADCSRA> <ADCSRB> <NAME>ADCSRB</NAME>
in „M324def.inc gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
meanvalue.vhdl
next 3 v_in values -- are added to it. so it's not an exact an averaging over 4 values. -- the division is done by an bit-shift operation. library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all; entity meanvalue is port ( -- input clocks clk : in std_logic; -- announces a new input value
-
Datei
kompletter_Code.c
<fvco<180MHz / fPLL = fvco / Wide Bandwidth Mode disabled /*6- Clock Select und PBB-PBA-CPU-HSB Division*/ AVR32_PM.cksel = 0x80808080; /*7- PLL starten*/ AVR32_PM.pll[0] |= AVR32_PM_PLLEN_MASK; // PLL enable /*8- Wait for pll to be stable*/ while(!(AVR32_PM.poscsr & AVR32_PM_POSCSR_LOCK0_MASK)); if(
in „AVR32 AT32UC3C0512C Bootloader Frequenz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main_example_stm32.c
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); //Set Timer TIM2 TIM_TimeBase_InitStructure.TIM_ClockDivision = TIM_CKD_DIV1; TIM_TimeBase_InitStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBase_InitStructure.TIM_Period = 8 - 1; TIM_TimeBase_InitStructure.TIM_Prescaler = ((F_CPU / F_INTERRUPTS)/8
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·