-
PDF
SSD1353_0.11.pdf
command B3h. The display clock (DCLK) for the Display Timing Generator is derived from CLK. The division factor “D” can be programmed from 1 to 16 by command B3h. DCLK = F OSC / D The frame frequency of display is determined by the following formula: F osc FFRM = D×K× No.of Mux where • D stands for clock
in „RitDisplay RTS18160128FHC04 P16885 1,8" OLED Touch STM8“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PIC18f6622.pdf
relationship between the across all banks. The entire data memory may be BSR’s value and the bank division in data memory is accessed by Direct, Indirect or Indexed Addressing shown in Figure 5-7. modes. Addressing modes are discussed later in this Since up to 16 registers may share the same low-order
in „PIC 18F6622 Zeit um EEPROM zu schreiben“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
RFM22B.pdf
theRFM22B/23B an ideal solution for battery powered applications. The RFM22B/23B operates as a time division duplexing (TDD) transceiver where the device alternately transmits and receives data packets. The device uses a single-conversionmixer to downconvert the 2-level FSK/GFSK/OOK modulated receive signal
-
PDF
s81350hg.pdf
Monday) 11:50 (Modified:) <Information level> A: Public (Printing O.K.) Index: A: General <Product> Division name: 01 IC Category 1: 11 Power Supply Category 2: 2. Voltage Regulators Cal No.: Overall Related Documents: Question: Why do people dislike using electrolytic capacitors? Answer: Because electrolytic
in „Geiger Counter Sparkfun“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
UM10398_-_LPC11xx_UserManual.pdf
) bit description Bit Symbol Value Description Reset value 4:0 MSEL Feedback divider value. The division value M is the 0x000 programmed MSEL value + 1. 00000: Division ratio M = 1 to 11111: Division ratio M = 32. 6:5 PSEL Post divider ratio P. The division ratio is 2 × P. 0x00 0x0 P = 1 0x1 P = 2 0x2
in „Cortex-M UART im Polling-Betrieb“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
tiny13.pdf
. Table 9. 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 1 0 1 0 Reserved 1 0 1 1 Reserved 1 1 0 0 Reserved 1 1 0 1 Reserved 1 1 1 0
in „ATtiny13 Datenblatt External Clock Source on T0-Pin“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STV0299B.pdf
between 4 and 8 MHz. - DIRCLK-DIS (pin 58) is tied to VDD 100 The VCO generates the following by division: (where M_CLK = ----⋅-CLK_IN and the f SCL The Master Clock (M_CLK) 16 2 frequency of the I C bus must satisfy: An auxiliary clock (AUX_CLK) which may either SCL ≤-------⋅CLK_IN--and fSCL ≤ 400 kHz
in „Pollin - Receiver-Mainboard mit Twin DVB-[T,C] Tuner, NXP PNX8950EH“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
wavelet.pdf
Algorithmus von Euklid oglich. Dieser dient dazu, de gro▯ten gemeinsamen Teiler durch sukzessive Divisionen mit Rest zu berechnen. Dies ist nicht nur f r ganze Zahlen m glich, sondern auch fur Polynome, denn auch hie fur steht ein entsprechendes Divisionsverfahren zur V rfugung. Auf Einzelheiten kann jedoch
in „Aufbaustudium Weiz / FH Mittweida“ · Ausbildung, Studium & Beruf ·
-
PDF
datasheetFilter.pdf
used in manufacturing process of us. http://www.murata.co.jp/products/ Head Office International Division 2-26-10, Tenjin Nagaokakyo-shi, Kyoto 617-8555, Japan Phone:81-75-955-6502 3-29-12, Shibuya, Shibuya-ku, Tokyo 150-0002, Japan Phone:81-3-5469-6123 Fax:81-3-5469-6155 E-mail:intl@murata.co.jp
in „Superhet mit einer Loop-Antenne=Empangsspule für KW“ · HF, Funk und Felder ·
-
PDF
1980-09.pdf
rBJECTIVE APERTURE 66 mm PRICE IN U.S.A.: $34.00000 FIELD OF VIEW 1,67 orad (1.5°) MANUFACTURING DIVISION: CIVIL ENGINEERING DIVISION ANGLE FOCUS RANGE 5 m (16 II) lo * Loveland Colorado 80537 u SA RESOLUTION: Illuminated cross hairs SEPTEMBER 1980 HEWLETT-PACKARD JOURNAL 11 © Copr. 1949-1998 Hewlett-Packard
in „Time-interpolation“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
SPACE_VECTOR_MODULATION_AND_CONTROL.pdf
harmonic content. Perhaps a better (but not necessarily more practical) alternative involves the division of the sixty-degree regions into fourteen sub-regions with their switching sequence optimized in order to avoid the narrow pulses [B9]. Finally, it is accepted as conventional wisdom that SVM methods
in „Literatur für Raumzeigermodulation“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irsnd.c
IRSND_TIMER_HANDLER.Init.CounterMode = TIM_COUNTERMODE_UP; IRSND_TIMER_HANDLER.Init.Period = 10 -1; IRSND_TIMER_HANDLER.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; IRSND_TIMER_HANDLER.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; if (HAL_TIM_PWM_Init(&IRSND_TIMER_HANDLER) != HAL_OK) { _Error_Handler(__FILE__, __LINE__); }
in „IR Fernbedienung mit IRSND“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
timestamp2DateTime.ino
actual year and can figure out if is a leap-year // if (year % 4 == 0) leapYear = true; // if year division by four without rest, then is a leap-year...yeeeh -> it works until 2037 only if ( bitRead(year,0)==0 && bitRead(year,1)==0) { // it's faster than %-arithmetic leapYear = true; SecOfYear = 31622400
in „ESP8266 Code für timestamp 2 date & time“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AudioInterface.vhd
_2_048_MHz_SCLK, i2s_d_out => DA_SDIN, i2s_d_in => AD_SDOUT, i2s_lr => s_clk_32_kHz_LRCK ); clk_division_factor_4 : clock_divider_4 port map ( CLK_IN => s_clk_8_192_MHz_MCLK, RESET => s_RESET, CLK_OUT => s_clk_2_048_MHz_SCLK ); clk_division_factor_256 : clock_divider_256 port map ( CLK_IN => s_clk_8_
in „Genesys 2 (Xilinx Kintex 7): Audio-Codec Implementierung und Filteranbindung“ · FPGA, VHDL & Co. ·
-
Datei
main.c
Init.Prescaler = 0; htim2.Init.CounterMode = TIM_COUNTERMODE_UP; htim2.Init.Period = 63999; htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; if (HAL_TIM_Base_Init(&htim2) != HAL_OK) { Error_Handler(); } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL
in „STM32G071G8 I2C schickt keine Bytes?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AudioInterface.vhd
_2_048_MHz_SCLK, i2s_d_out => DA_SDIN, i2s_d_in => AD_SDOUT, i2s_lr => s_clk_32_kHz_LRCK ); clk_division_factor_4 : clock_divider_4 port map ( CLK_IN => s_clk_8_192_MHz_MCLK, RESET => s_RESET, CLK_OUT => s_clk_2_048_MHz_SCLK ); clk_division_factor_256 : clock_divider_256 port map ( CLK_IN => s_clk_8_
in „Genesys 2 (Xilinx Kintex 7): Audio-Codec Implementierung und Filteranbindung“ · FPGA, VHDL & Co. ·
-
Datei
AudioInterface.vhd
MHz_SCLK, i2s_d_out => s_DA_SDIN, --DA_SDIN, i2s_d_in => AD_SDOUT, i2s_lr => s_clk_32_kHz_LRCK ); clk_division_factor_4 : clock_divider_4 port map ( CLK_IN => s_clk_8_192_MHz_MCLK, RESET => s_RESET, CLK_OUT => s_clk_2_048_MHz_SCLK ); clk_division_factor_256 : clock_divider_256 port map ( CLK_IN => s_clk_8_
in „Genesys 2 (Xilinx Kintex 7): Audio-Codec Implementierung und Filteranbindung“ · FPGA, VHDL & Co. ·
-
Datei
rs232.txt
sTimInitStruktur); sTimInitStruktur.Autoreload = 15000; //Interrupt alle 0.25ms sTimInitStruktur.ClockDivision = LL_TIM_CLOCKDIVISION_DIV1; sTimInitStruktur.CounterMode = LL_TIM_COUNTERMODE_UP; sTimInitStruktur.Prescaler = 1; sTimInitStruktur.RepetitionCounter = 15000; LL_TIM_Init(TIM12, &sTimInitStruktur)
in „STM32H7 USART geht nicht mehr mit Compiler V6.14“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LTC2387_16.vhd
CLKOUT3_PHASE => 0.0, CLKOUT4_PHASE => 0.0, CLKOUT5_PHASE => 0.0, DIVCLK_DIVIDE => 1, -- Master division value, (1-56) REF_JITTER1 => 0.0, -- Reference input jitter in UI, (0.000-0.999). STARTUP_WAIT => "FALSE") -- Delay DONE until PLL Locks, ("TRUE"/"FALSE") port map( -- Clock Outputs: 1-bit (each)
in „Spartan 3 mit two lane LVDS á 200Mbit/s“ · FPGA, VHDL & Co. ·
-
Datei
system_operation.c
new_freq) // Set synthesizer to new_freq { uint8_t rf_div = 0; // Mail PLL RF divider, 2^rf_div = division ratio while( new_freq * pow2(rf_div) < f_vco_min ) // Determine the main PLL RF divider setting that yields the smallest permissible VCO frequency for the given new_freq rf_div++; uint16_t n_div;
in „Oszillator YIG 1,9-4,4 GHz Avantek ASF-9882/7841“ · HF, Funk und Felder ·
-
Datei
Watchdogtimer.c
ADC mit Average PORTB &= ~(1 << PB0); // Potis abschalten pulsdauer = (( adc_val_PB3) >> DIV); // Division mit 2^DIV zur Zeiteinschränkung if (!pulsdauer) pulsdauer++; // +1 um >0 zu bleiben ADCSRA &= ~(1 << ADEN); // ADC ausschalten PRR |= (1 << PRADC); // Power ADC ausschalten #ifdef HIGH_ACTIVE // PB1
in „ATTINY84A Zeitrelais“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= Freq [0] >> 1; // Rechtsshift, verschiebt den Inhalt einer // Variablen bitweise nach rechts. Division durch // 2^n, in diesem Fall um 2^1. Außerdem automatisches // Abschneiden der Nachkommastellen. Deswegen kein Float PBreite [1] = Freq [1] >> 1; PBreite [2] = Freq [2] >> 1; PBreite [3] = Freq [3
in „MSP430 F5529 Wobbel-Generator“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= Freq [0] >> 1; // Rechtsshift, verschiebt den Inhalt einer // Variablen bitweise nach rechts. Division durch // 2^n, in diesem Fall um 2^1. Außerdem automatisches // Abschneiden der Nachkommastellen. Deswegen kein Float PBreite [1] = Freq [1] >> 1; PBreite [2] = Freq [2] >> 1; PBreite [3] = Freq [3
in „MSP430 F5529 Wobbel-Generator“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
PRESCALER * F_TIMER)) // Timertakte pro Interrupt #define REST (F_CPU % (T1_PRESCALER * F_TIMER)) // Divisionsrest #define PIN_SCK PORTB7 #define PIN_MOSI PORTB5 #define PIN_SS PORTB4 #define ON 1 #define OFF 0 #define MAX7219_LOAD1 PORTB |= (1<<PIN_SS) #define MAX7219_LOAD0 PORTB &= ~(1<<PIN_SS) #define MAX7219
in „Led Uhr selber machen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= Freq [0] >> 1; // Rechtsshift, verschiebt den Inhalt einer // Variablen bitweise nach rechts. Division durch // 2^n, in diesem Fall um 2^1. Außerdem automatisches // Abschneiden der Nachkommastellen. Deswegen kein Float PBreite [1] = Freq [1] >> 1; PBreite [2] = Freq [2] >> 1; PBreite [3] = Freq [3
in „MSP430 F5529 Wobbel-Generator“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= Freq [0] >> 1; // Rechtsshift, verschiebt den Inhalt einer // Variablen bitweise nach rechts. Division durch // 2^n, in diesem Fall um 2^1. Außerdem automatisches // Abschneiden der Nachkommastellen. Deswegen kein Float PBreite [1] = Freq [1] >> 1; PBreite [2] = Freq [2] >> 1; PBreite [3] = Freq [3
in „Rote LED an Port 1.0 will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ALU_CTRL_sync.vhd
internal_ALU_RESULT <= (63 downto 16 => '0') & internal_RESULT_16; when x"0C" => --unsigned 16 Division internal_OP_A_16 <= internal_ALU_INPUTS(79 downto 64); internal_OP_B_16 <= internal_ALU_INPUTS(15 downto 0); internal_ALU_SEL <= internal_OPERATION; internal_ALU_RESULT <= (63 downto 16 => '0') &
in „FPGA Coprozesser Blöcke werden wegoptimiert“ · FPGA, VHDL & Co. ·
-
Datei
Konsolenausgabe.txt
are using the GNU C Library 2.1 or newer... checking for malloc.h... yes checking whether integer division by zero raises SIGFPE... yes checking for string.h... (cached) yes no checking dynamic linker characteristics... checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking
in „cannot read spec file 'device-specs/specs-atmega4808'“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ATmega8.pdf
clock clk CPU, directly generated from the selected clock source for the chip. No internal clock division is used. 13 2486Z–AVR–02/11 Figure 5 shows the parallel instruction fetches and instruction executions enabled by the Har- vard architecture and the fast-access Register File concept. This is the
in „Mikrocontroller und 15'' TFT LCD“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
switec_X15.xxx.02.SP.E.pdf
supply the best possible products. is a trade mark of the Swatch Group Management Services AG. a division of Micro-Components SA2001SR-11/07/01 ▯ ▯ ▯ ▯▯ ▯▯ ▯ ▯▯ A COMPANY OF THE
in „M-S Motor X15.xxx“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Atiny2313.pdf
“0000”. If CKDIV8 is programmed, CLKPS bits are reset to “0011”, giving a division factor of 8 at start up. This feature should be used if the selected clock source has a higher frequency than the maximum frequency of the device at the present operating conditions. Note that any
in „Suche tutorial“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
s1d13700.pdf
Corporation Epson Electronics America, Inc. Epson Taiwan Technology Electronic Devices Marketing Division 421-8, Hino, Hino-shi 150 River Oaks Parkway & Trading Ltd. Tokyo 191-8501, Japan San Jose, CA 95134, USA 10F, No. 287 Tel: (408) 922-0200 Nanking East Road Tel: 042-587-5812 Fax: (408) 922-0238 Sec
in „Erste GLCD (Touch) -Schaltung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
C8051F531.pdf
Timer 0 uses the system clock. Bits1–0: SCA1–SCA0: Timer 0/1 Prescale Bits. These bits control the division of the clock supplied to Timer 0 and Timer 1 if configured to use prescaled clock inputs. SCA1 SCA0 Prescaled Clock 0 0 System clock divided by 12 0 1 System clock divided by 4 1 0 System clock divided
-
PDF
TSL230_ReadMe_110717.pdf
auswertenden Instanz - unterschiedliche Formatierungen vorbereitet. Der Hintergrund, warum die Division des Messwertes durch den Teiler nicht schon auf dem Controller ausgeführt wird, ist einfach: Bei einer Ganzzahl-Division durch 100 gehen zwei "Nachkommastellen" verloren, die möglicherweise bei geringen
in „Messung der Beleuchtungsstärke mit TSL230R und ATtiny2313 in C“ · Projekte & Code ·
-
PDF
crc.pdf
products are summed using exclusive or. Multiplication is not needed to compute the CRC checksum. Division of polynomials over GF(2) can be done in much the same way as long division of polynomials over the integers. Below is an example. x + x + 1 x3+x+1 x + x + x + 5 x + x x7 + x + x 4 6 4 x6+ x4 3 x
-
PDF
IL300.pdf
of (IP1= VIN /R1). 4 5 V c + lp 1 R1 lp2 R2 2000 Infineon Technologies Corp. • Optoelectronics Division • San Jose, CA www.infineon.com/opto • 1-888-Infineon (1-888-463-4636) OSRAM Opto Semiconductors GmbH & Co. OHG • Regensburg, Germany www.osram-os.com • +49-941-202-7178 1 April 3, 2000-14 IL300Terms
in „Galvanisch getrennten 1-10V Ausgang regeln“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
csvview.pdf
befüllt: X1=10, X2=20 .. X255=2550, Y1=15, Y2=25 .. Y255=2555; Wenn das Ergebnis der Berechnung, eine Division durch Null ist (Ergebnis „1.#INF00“) wird im Viewer der Graph an dieser Stelle ausgesetzt. Variablendefinitionen Im Variablendefinitionsteil hat eine Zeile folgendenAufbau: Variablenname=Variablenwert
-
PDF
QEI_Cortex_M3.pdf
of this equation, as well as reducing the processing requirement of computing this equation. The division can be avoided by selecting a timer load value such that the divisor is a power of 2; a simple shift can therefore be done in place of the division. For encoders with a power of 2 pulses per revolution
in „Drehgeber Cortex M3“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
einf__hrung_in_vhdl.pdf
Einzelelemente zu einem einzigen Array (z.B. “ab” & “zug” => “abzug”). Der Multiplikations- (*) und der Divisionsoperator (/) werden wie gewohnt gebraucht und kön- nen auf numerische Operanden angewendet werden. Der Betragswertoperator (abs) kann auf jeden numerischen Typ angewendet werden, mod ist der Modulo-Operator
in „Erste Schritte mit FPGA - ich komme nicht weiter“ · FPGA, VHDL & Co. ·
-
PDF
Solid_State_Relays_AN.pdf
SHARPMicroelectronics of theAmericas SHARPMicroelectronics Europe SHARPCorporation 5700NWPacific RimBlvd. Divisionof SharpElectronics(Europe) GmbH Electronic Components &Devices Camas, WA98607, U.S.A. Sonninstrasse3 22-22Nagaike-cho, Abeno-Ku Phone: (1) 360-834-2500 20097Hamburg, Germany Osaka545-8522, Japan Fax
in „Frage zur Benutzung eines SSR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gcc10.0.1_binutils2.34_Konsolenausgabe_-e_strace.txt
.. checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for sys/stat.h... (cached) yes checking for sys/mman.h... yes checking for fcntl.h... GNU/Linux ld.so checking how to hardcode library paths into programs...
in „Toochain bauen avr-gcc-x.x mit binutils-2.34 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Konsolenlogfile1.txt
checking whether we are using the GNU C Library 2.1 or newer... yes yes checking whether integer division by zero raises SIGFPE... checking for time.h... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes yes checking
in „Toochain bauen avr-gcc-x.x mit binutils-2.34 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Konsolenlogfile.txt
yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN
in „Toochain bauen avr-gcc-x.x mit binutils-2.34 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC-Test.asm
Werte -> nächsten Wert einlesen ; Aus den 256 Werten den Mittelwert berechnen ; Mathematisch eine Division durch 256 ; Da aber 2^8 = 256 ist ist da einfach durch das weglassen des niederwertigsten Bytes ; erreicht werden ; ; allerdings wird der Wert noch gerundet cpi temp2,128 ; "Kommastelle" kleiner als
in „ATMega88 adc Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= Freq [0] >> 1; // Rechtsshift, verschiebt den Inhalt einer // Variablen bitweise nach rechts. Division durch // 2^n, in diesem Fall um 2^1. Außerdem automatisches // Abschneiden der Nachkommastellen. Deswegen kein Float PBreite [1] = Freq [1] >> 1; PBreite [2] = Freq [2] >> 1; PBreite [3] = Freq [3
in „kein definiertes Verhalten in der ISR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= Freq [0] >> 1; // Rechtsshift, verschiebt den Inhalt einer // Variablen bitweise nach rechts. Division durch // 2^n, in diesem Fall um 2^1. Außerdem automatisches // Abschneiden der Nachkommastellen. Deswegen kein Float PBreite [1] = Freq [1] >> 1; PBreite [2] = Freq [2] >> 1; PBreite [3] = Freq [3
in „MSP430 F5529 Wobbel-Generator“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.asm
Ergebnisregister dient auch als inc BCD3 ; Zähler bis 16! Bit 1 auf 1 setzen) ; Hier beginnt die Divisionsschleife div8a: clc ; Carry-Bit leeren rol BCD1 ; nächsthöheres Bit des Dividenten rol BCD2 ; in das Hilfsregister rotieren rol temp1 ; (entspricht Multipliklation mit 2) brcs div8b ; Eine 1 ist herausgerollt, ziehe ab cp temp1,temp2 ; Divisionsergebnis 1 oder 0? brcs div8c ; Überspringe Subtraktion, wenn kleiner div8b: sub temp1,temp2; Subtrahiere Divisor sec ; Setze carry-bit, Ergebnis ist eine 1 rjmp div8d ; zum Schieben des Ergebnisses div8c
-
Datei
main.asm
Ergebnisregister dient auch als inc BCD3 ; Zähler bis 16! Bit 1 auf 1 setzen) ; Hier beginnt die Divisionsschleife div8a: clc ; Carry-Bit leeren rol BCD1 ; nächsthöheres Bit des Dividenten rol BCD2 ; in das Hilfsregister rotieren rol temp1 ; (entspricht Multipliklation mit 2) brcs div8b ; Eine 1 ist herausgerollt, ziehe ab cp temp1,temp2 ; Divisionsergebnis 1 oder 0? brcs div8c ; Überspringe Subtraktion, wenn kleiner div8b: sub temp1,temp2; Subtrahiere Divisor sec ; Setze carry-bit, Ergebnis ist eine 1 rjmp div8d ; zum Schieben des Ergebnisses div8c
-
Datei
main.asm
Ergebnisregister dient auch als inc BCD3 ; Zähler bis 16! Bit 1 auf 1 setzen) ; Hier beginnt die Divisionsschleife div8a: clc ; Carry-Bit leeren rol BCD1 ; nächsthöheres Bit des Dividenten rol BCD2 ; in das Hilfsregister rotieren rol temp1 ; (entspricht Multipliklation mit 2) brcs div8b ; Eine 1 ist herausgerollt, ziehe ab cp temp1,temp2 ; Divisionsergebnis 1 oder 0? brcs div8c ; Überspringe Subtraktion, wenn kleiner div8b: sub temp1,temp2; Subtrahiere Divisor sec ; Setze carry-bit, Ergebnis ist eine 1 rjmp div8d ; zum Schieben des Ergebnisses div8c
-
Datei
main.c
72-1; htim1.Init.CounterMode = TIM_COUNTERMODE_UP; htim1.Init.Period = 0xffff-1; htim1.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; htim1.Init.RepetitionCounter = 0; htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; if (HAL_TIM_Base_Init(&htim1) != HAL_OK) { Error_Handler(); } sClockSourceConfig.ClockSource
in „4DLCD-32QA mit STM32 initialisieren“ · Mikrocontroller und Digitale Elektronik ·