-
PDF
Cordic_Lindlbauer2001.pdf
Rotation DIgital Computer or CORDIC for the calculation of trigonometric functions, multiplication, division and conversion between binary and mixed radix number systems. The CORDIC-algorithm provides an iterative method of performing vector rotations by arbitrary angles using only shifts and adds. Volder's
in „Cordic-Algorithmus in AVR-Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SHARP_LJ64EU34.pdf
SHARPMicroelectronics Europe SHARPCorporation 5700NWPacific RimBlvd. Electronic Components &Devices Divisionof SharpElectronics(Europe) GmbH Camas, WA98607, U.S.A. Sonninstrasse3 22-22Nagaike-cho, Abeno-Ku Phone: (1) 360-834-2500 20097Hamburg, Germany Osaka545-8522, Japan Fax: (1) 360-834-8903 Phone: (49)
in „SHARP LJ640U34 von Pollin?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Nokia_6100_LCD_Display_Driver.pdf
lines (P3 = 0). // Display control WriteSpiCommand(DISCTL); WriteSpiData(0x00); // P1: 0x00 = 2 divisions, switching period=8 (default) WriteSpiData(0x20); // P2: 0x20 = nlines/4 - 1 = 132/4 - 1 = 32) WriteSpiData(0x00); // P3: 0x00 = no inversely highlighted lines To be completely honest here, the common
in „Alles was man über das Nokia 6100 Display wissen muss“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
EVK2160A_UserGuide.pdf
235mAh 2x Sample AT42QT2160-MMU ICs 1x EVK2160A User Guide Packed by: Dated: TM Touch Technology Division 1 Mitchell Point Copyright © QRG Ltd. Ensign Way, Hamble All rights reserved Southampton SO31 4RF Patented and patents pending United Kingdom www.atmel.com Tel: +44 (0)23 8056 5600 qprox.support@atmel.com
in „CapSense EVK2160A“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SAK-C167CR-LM_HA.pdf
Instruction Cycle Time at 25/33 MHz CPU Clock – 400/303 ns Multiplication (16× 16 bit), 800/606 ns Division (32 / 16 bit) – Enhanced Boolean Bit Manipulation Facilities – Additional Instructions to Support HLL and Operating Systems – Register-Based Design with Multiple Variable Register Banks – Single-Cycle
in „Problem mit Infinion C167CR mit AM29F200B-70SE“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ks0073.pdf
High”, KS0073 operates in low power consumption mode. During 1-line mode KS0073 operates on a 4-division clock, and in 2-line or 4-line mode it operates on 2-division clock. According to this instruction, execution time becomes 4 or 2 timeslonger. Note not to use display shift instruction, as it may
in „LCD Display DIP204-6“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
b2-guide166.pdf
multiplexed design, the 166 does not allow the upper 8-bits of port 0 to be used as IO. However the division of P0 into P0L (LOW) and P0H (HIGH) allows the spare upper 8-bits to be used as IO. Care should be taken that any IO device attached to P0.15 does not pull the pin down sufficiently to make the CPU
in „Problem mit Infinion C167CR mit AM29F200B-70SE“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
an27701.pdf
Allstar Magnetics Inc. Fair-Rite Products Corp. J.W. Miller Co. 6205 NE 63rd Street P.O. Box J Division of Bell Industries Vancouver, WA 98661 Wallkill, NY 12589-0288 19070 Reyes Avenue (360) 693-0213 (914) 895-2055 P.O. Box 5825 Dexter Magnetic Materials Division Magnetics Rancho Dominguez, CA 90224
in „Drehzahlmessung mit induktivem Näherungsschalter“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AT90PWM2_2B_3_3B__2_.pdf
the master clock input to the MCU, the speed of all synchro- nous peripherals is reduced when a division factor is used. The division factors are given in Table 7-12. The CKDIV8 Fuse determines the initial value of the CLKPS bits. If CKDIV8 is unprogrammed, the CLKPS bits will be reset to “0000”. If
in „Interrupt bem Flankenwechsel beim AVR“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
191095-an-01-de-ROBONOVA-I_BAUSATZ.pdf
roboBASIC. Symbol Beschreibung + Additionssymbol - Subtraktionssymbol * Multiplikationssymbol / Divisionssymbol % Restesymbol . Bitkennzeichnungssymbil & Ziffernsymbol ?? Textsymbol ?? Zeichenkettensymbol : Labelsymbol = Gleichheitszeichen- und Substitutionssymbol < Ungleichheitssymbol > Ungleichheitssymbol
in „Tubularer Linearmotor“ · Offtopic ·
-
Datei
STM32_Init.c
// // <h> Timer 1 Control Register 1 Configuration (TIM1_CR1) // <o8.8..9> TIM1_CR1.CKD: Clock division // <i> Default: tDTS = tCK_INT // <i> devision ratio between timer clock and dead time // <0=> tDTS = tCK_INT // <1=> tDTS = 2*tCK_INT // <2=> tDTS = 4*tCK_INT // <o8.7> TIM1_CR1.ARPE: Auto-reload
in „ARM STM32 Eingänge werden nicht erkannt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32_Init.c
// // <h> Timer 1 Control Register 1 Configuration (TIM1_CR1) // <o8.8..9> TIM1_CR1.CKD: Clock division // <i> Default: tDTS = tCK_INT // <i> devision ratio between timer clock and dead time // <0=> tDTS = tCK_INT // <1=> tDTS = 2*tCK_INT // <2=> tDTS = 4*tCK_INT // <o8.7> TIM1_CR1.ARPE: Auto-reload
in „ARM STM32 Eingänge werden nicht erkannt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
bsp.c
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3,ENABLE); TIM_InternalClockConfig(TIM3); timer_conf.TIM_ClockDivision=TIM_CKD_DIV1; timer_conf.TIM_Prescaler=1; timer_conf.TIM_CounterMode=TIM_CounterMode_Up; timer_conf.TIM_Period=65535; TIM_TimeBaseInit(TIM3,&timer_conf); outp_conf.TIM_OCMode=TIM_OCMode_PWM1; outp_conf.TIM_OutputState
in „Konfiguration eines Timers auf dem STM32F100RB6“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3,ENABLE); TIM_InternalClockConfig(TIM3); timer_conf.TIM_ClockDivision=TIM_CKD_DIV1; timer_conf.TIM_Prescaler=1; timer_conf.TIM_CounterMode=TIM_CounterMode_Up; timer_conf.TIM_Period=65535; TIM_TimeBaseInit(TIM3,&timer_conf); outp_conf.TIM_OCMode=TIM_OCMode_PWM1; outp_conf.TIM_OutputState
in „Konfiguration eines Timers auf dem STM32F100RB6“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
S6B33B2.c
DRIVER_OUTPUT_MODE_SET,/* 0x01 | */ DOMS_SDIR); LCD_WCom(2, DC_DC_SELECT, DDS_DC1_X20); LCD_WCom(2, DCDC_CLOCK_DIVISION_SET, DCDS_DIV1_16); LCD_WCom(2, TEMPERATURE_COMPENSATION_SET, TCS_05); LCD_WCom(2, CONTRAST_CONTROL1, 0xD0); LCD_WCom(2, ADDRESSING_MODE_SET, 0x00); LCD_WCom(2, ROW_VECTOR_MODE_SET, 0x0E); LCD_WCom
in „LCD-Modul SAMSUNG UG12D228AA von Pollin“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
S6B33B2.h
define BS_BIAS2_15 DB4 #define BS_BIAS2_16 DB5 #define BS_BIAS2_17 (DB4| DB5) #define DCDC_CLOCK_DIVISION_SET 0x24 #define DCDS_DIV1_8 DB0 #define DCDS_DIV1_16 DB1 #define DCDS_DIV1_32 (DB0 | DB1) #define DCDS_DIV2_8 DB4 #define DCDS_DIV2_16 DB5 #define DCDS_DIV2_32 (DB4 | DB5) #define DCDC_AND_AMP_ON_OFF_SET
in „LCD-Modul SAMSUNG UG12D228AA von Pollin“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
} if ((i==0)&&(dot==1)){ PORTB|=(1<<PB1); } //============================== number=number/2; //Division 2 PORTB|=(1<<PB0); //1x Clock an, aus für Shifter asm("nop"); PORTB&=~(1<<PB0); } } void init(void){ //binäre Ausgänge setzen DDRB=0b00000011; ADMUX = 0b00000010; ADCSRA = 0b10000111; } int main(void
in „Probleme Schieberegister 74LS164 an ATtiny“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Gyrosensor-Auslesen-Winkel_2-0.c
capacitor at ADCSRA = (1<<ADEN)|(1<<ADSC)|(1<<ADPS0)|(1<<ADPS1)|(1<<ADPS2)|(1<<ADSC); //frequency division factor -> 128 ADCSRA ADC Start Conversion } //TIMER0_Einstellungen_und_Register+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //Timereinstellungen Gyro--------------------------
in „Motorregelung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc_dma_test.c
Enable the internal 32 MHz RC oscillator OSC.CTRL|=OSC_RC32MEN_bm; // System Clock prescaler A division factor: 2 // System Clock prescalers B & C division factors: B:1, C:1 // ClkPer4: 16000,000 kHz // ClkPer2: 16000,000 kHz // ClkPer: 16000,000 kHz // ClkCPU: 16000,000 kHz n=(CLK.PSCTRL & (~(CLK_PSADIV_gm
in „ATXMega128a1 Problem mit printf()-Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
display_t.cpp
subdivisions PIXELP(lX, y + GRID_HEIGHT - 2, 1, layer); PIXELP(lX, y + GRID_HEIGHT, 1, layer); } //Main division - 50 pixel for one division if (((lX - x)%50 == 0) && ((lX - x) > 5) && ((lX - x) < GRID_WIDTH - 5) && ((lX - x) != (GRID_WIDTH / 2))) { //Top line division PIXELP(lX, y + 1, 1, layer); PIXELP(lX,
in „Wittig(welec) DSO W20xxA Open Source Firmware (Teil4)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dmc2047.asm
61 Hz) rcall lcd_cmd ldi temp, 0x09 ;display on rcall lcd_cmd rcall lcd_clear ret ;(*) = 16 time divisions, R0/8~R7/15 = R0~R7, R15/C42~R8/C49 = R15~R8, ; SYNC = output, Memory bank 0 & 1
in „Pollin Display DMC 2047“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc_dma_test.c
Enable the internal 32 MHz RC oscillator OSC.CTRL|=OSC_RC32MEN_bm; // System Clock prescaler A division factor: 2 // System Clock prescalers B & C division factors: B:1, C:1 // ClkPer4: 16000,000 kHz // ClkPer2: 16000,000 kHz // ClkPer: 16000,000 kHz // ClkCPU: 16000,000 kHz n=(CLK.PSCTRL & (~(CLK_PSADIV_gm
in „DMA ATXmega128a1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sender.c
volatile int gWaveCount=0; int main(void) { int Reading; Config32MHzClock(); CLK.PSCTRL = 0x00; // no division on peripheral clock PORTCFG.CLKEVOUT = PORTCFG_CLKOUT_PE7_gc; PORTE.DIR = (1<<7); // clkout TCC0.CTRLA = 4; // setup DAC output on PORTB:1 as GND reference PORTB.DIR |= 0x02; PORTB.OUT &= 0xFD; /*
in „Suche Xmega Sinus Quellcode“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
S6B33B2.c
DRIVER_OUTPUT_MODE_SET,/* 0x01 | */ DOMS_SDIR); LCD_WCom(2, DC_DC_SELECT, DDS_DC1_X20); LCD_WCom(2, DCDC_CLOCK_DIVISION_SET, DCDS_DIV1_16); LCD_WCom(2, TEMPERATURE_COMPENSATION_SET, TCS_05); LCD_WCom(2, CONTRAST_CONTROL1, 0xD0); LCD_WCom(2, ADDRESSING_MODE_SET, 0x00); LCD_WCom(2, ROW_VECTOR_MODE_SET, 0x0E); LCD_WCom
in „LCD-Modul SAMSUNG UG12D228AA von Pollin“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
S6B33B2.h
define BS_BIAS2_15 DB4 #define BS_BIAS2_16 DB5 #define BS_BIAS2_17 (DB4| DB5) #define DCDC_CLOCK_DIVISION_SET 0x24 #define DCDS_DIV1_8 DB0 #define DCDS_DIV1_16 DB1 #define DCDS_DIV1_32 (DB0 | DB1) #define DCDS_DIV2_8 DB4 #define DCDS_DIV2_16 DB5 #define DCDS_DIV2_32 (DB4 | DB5) #define DCDC_AND_AMP_ON_OFF_SET
in „LCD-Modul SAMSUNG UG12D228AA von Pollin“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
division5632.asm
.include "m32def.inc" .def zeichen=r1 .equ F_CPU = 16000000 ; Systemtakt in Hz .equ BAUD = 250000 ; Baudrate ; Berechnungen .equ UBRR_VAL = ((F_CPU+BAUD*8)/(BAUD*16)-1) ; clever runden .equ BAUD_REAL = (F_CPU/(16*(UBRR_VAL+1))) ; Reale Baudrate .equ BAUD_ERROR = ((BAUD_REAL*1000)/BAUD-1000) ; Fehler in Promille .if ((BAUD_ERROR>10) || (BAUD_ERROR<-10)) ; max. +/-10 Promille Fehler .error "Systematischer Fehler der Baudrate grösser 1 Prozent und damit zu hoch!" .endif .org 0x000 rjmp Main .org 0x002 ; External Interrupt0 Vector Address rjmp int0_handler .org 0x004 ; External Interrupt1 Vector Address
in „Assambler division 56bit/32bit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rfm12_cmds.h
long data packets to include enough 1/0 and 0/1 transitions, and to be careful to use the same division ratio in the receiver and in the transmitter. */ #define RFM12_CMD_DATARATE 0xC600 #define RFM12_DATARATE_CS 0x80 //calculate setting for datarates >= 2700 Baud #define RFM12_DATARATE_CALC_HIGH(d)
in „RFM12BSP - Kein nIRQ beim Empfang“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
twi_main.c
every 1,8s Interrupt TIM_TimeBaseStructure.TIM_Prescaler = 2048; TIM_TimeBaseStructure.TIM_ClockDivision = 0; TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBaseInit(TIM4, &TIM_TimeBaseStructure); /* TIM IT enable */ TIM_ITConfig(TIM4, TIM_IT_Update, ENABLE); /*set clock to Internal
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LEDNotifier.c
watchdog if enabled by bootloader/fuses */ MCUSR &= ~(1 << WDRF); wdt_disable(); /* Disable clock division */ //clock_prescale_set(clock_div_1); /* Hardware Initialization */ LEDs_Init(); USB_Init(); /* Timer Initialization */ OCR0A = 100; TCCR0A = (1 << WGM01); TCCR0B = (1 << CS00); TIMSK0 = (1 << OCIE0A
in „Startschwierigkeiten mit ATmega16U2“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PG12864LRS-DNN-H.pdf
specification. ¡‰ Approval For Specifications and Sample. Powertip Corporation Headquarters: ¡… LCD Division: øþ LCM Division: th No.8, 6 Road, Taichung IndustTEL: 886-4-2355-6888 TEL: 886-4-2355-8168 Taiwan FAX: 886-4-2355-6898 FAX: 886-4-2355-8166 ¥x⁄⁄407⁄u•~°ˇ 8‚„‚ô E-mail: sales@display.poweE-mail: sales
-
PDF
Transistor_2N3904.pdf
Allmendstrasse 140, CH-8027 ZÜRICH, Indonesia: PT Philips Development Corporation, Semiconductors Division, Tel. +41 1 488 2741 Fax. +41 1 488 3263 Gedung Philips, Jl. Buncit Raya Kav.99-100, JAKARTA 12510, Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1, Tel. +62 21 794 0040 ext.
in „12V relais lässt nicht los“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
JBT6K71-AS_A__v1.42_2006-02-07_E.PDF
prohibited 1 0 0 0 0 16 1 0 0 0 1 17 1 1 1 1 0 30 1 1 1 1 1 31 DIVI1-0: Specifies the frequency division ratio for the on-chip oscillator. The internal operation clock is created by dividing the oscillator frequency by the number specified with these register bits. DIVI1 DIVI0 Division Ratio Internal
in „LCD aus Benq EL71 Handy“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PCF8575.pdf
Allmendstrasse 140, CH-8027 ZÜRICH, Indonesia: PT Philips Development Corporation, Semiconductors Division, Tel. +41 1 488 2741 Fax. +41 1 488 3263 Gedung Philips, Jl. Buncit Raya Kav.99-100, JAKARTA 12510, Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1, Tel. +62 21 794 0040 ext.
in „Vieleeeele Eingänge, viele Ausgänge.“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
doc2585.pdf
communication makes mainly sense if the SCK clock is gen- erated by dividing the system clock by a large division factor (like 64 or 128). In this case the processor can do other processing instead of just waiting to send/receive the next byte. In slave mode where the part does not know when a communication starts
in „Frage bezgl. SPI und ISP“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LeibRamp.pdf
and in this n = p 2 .2 a / F 2 [12] form it works faster than in the integer form that requires division. i-1 or, by velocity, . 2 n = 2 a / v i-1 [13]. The maximum n value will be at minimum speed, on the first calculated step, where i = 2 * This algorithm was developed by the author in 1994 for L.I.D
-
PDF
EDN_DI_6594092.pdf
frequency-comparator) input and has an external timing signal. Simple sine- (www.nxp.com) 74HC4046, is a PLL a division ratio of 64. When the PLL wave generators can offer various de- (phase-lockedloop)withaVCO(volt- is locked, therefore, the Q6 output grees of this performance, but main- age-controlled oscillator)
in „mit µc einstellbarer Spannungsregler“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LP133X4.pdf
return 1 copy for our confirmation Product Engineering Dept. with your signature and comments. LCD Division LG Semicon. Co. Ltd. Revision Ver 0.0 14 / April / 98 Page 1/20 www.SpecLcd.com www.SpecLcd.com 2 LG Semicon. Co. Ltd. LP133X4 Liquid Crystal Display Product Specification CONTENTS NO. ITEM Page -
in „xga LCD auf dsub“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
mXrruyr.pdf
www.semtech.com DOC7-TS2-U860-DS-101 For sales information and product literature, contact: HID & System Mgmt Division Semtech Corporation 568 Broadway New York, NY 10012 hidinfo@semtech.com http://www.semtech.com 212 226 2042 Telephone 212 226 3215 Telefax Semtech Western Regional Sales 805-498-2111 Telephone 805
-
PDF
RTC-62421.pdf
bit is set. STOP The STOP bit sets an inhibition on clock operation in 8192-Hz steps which are divisions of the 1-second signal from the RTC's internal 32,768-Hz oscillation source. The clock is inhibited when the STOP bit is 1, and released again when it becomes 0. The internal oscillation circuit
in „RTC-62421: Frage zum Timingdiagramm“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
RF12.pdf
frequency band, center frequency of the synthesizer, and the bandwidth of the baseband signal path. Division ratio for the microcontroller clock, wake-up timer period, and low supply voltage detector threshold are also programmable. Any of these auxiliary functions can be disabled when not needed. All parameters
-
PDF
3B036723d01.pdf
.........................6-2 6-2 SCI rate generator division.....................................................................................6-4 6-3 Data format.............................................................................................................6-5 6-4 SCI examples of start
in „unbekanntes Touchpad, wie anschliessen und verwenden?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
fluessiggas.pdf
mit Sicherheitsventil 02 I 78 02/87 Gasflaschenventile Cavagna Group s.p.a. DIN 477 - Propan 19,8 Divisione Omeca mit Sicherheitsventil I - 25010 Ponte San Marco di Calcinato (Brescia) 02 I 81 10/86 Gasflaschenventile Cavagna Group s.p.a. DIN 477 - Propan 28,8 Divisione Omeca mit Sicherheitsventil I -
-
PDF
UM10120_1.pdf
U0DLM contains the higher 8 bits of the divisor. A 0x0000 value is treated like a 0x0001 value as division by zero is not allowed.The Divisor Latch Access Bit (DLAB) in U0LCR must be one in order to access the UART0 Divisor Latches. Details on how to select the right value for U0DLL and U0DLM can be found
in „Baudrate Abtastfrequenz“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Si4330.pdf
This design was made to obtain the desired frequency resolution of the synthesizer. The overall division ratio of the feedback loop consist of an integer part (N) and a fractional part (F). In a generic sense, the output frequency of the synthesizer is: fOUT 10MHz(N F) The fractional part (F) is
-
PDF
TA1090EC.pdf
Issued Date: Product Name: SAW FILTER 1090 MHZ TST Parts No.: TA1090EC Customer Parts No.: Company: Division: Approved by : Date: Checked by: Bob Chau Approval by: Vincent Lee Date: Sep.21,2001 TAI-SAW TECHNOLOGY CO., LTD. FR-03S06-02 TST DCC Release document TAI-SAW TECHNOLOGY CO., LTD. No. 3, Industrial
in „Flugzeug-Daten auf 1090 MHz empfangen“ · HF, Funk und Felder ·
-
Datei
regler.txt
ADC10SHT_2 | ADC10ON | REFON | REF2_5V; // Input channel 1, trigger using ADC10SC bit , no clock division , // internal ADC clock , single channel single conversions ADC10CTL1 = INCH_1 | SHS_0 | ADC10DIV_0 | ADC10SSEL_0 | CONSEQ_0; ADC10AE0 = BIT1; // Enable analog input on channel 1 ADC10CTL0 |= ENC;
in „MSP430G2231 mit BUZ 11 PWM Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Projekt.txt
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 „R8C13 UART1 Interrupt wird nur einmal aufgerufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart-adc.txt
ADC10SHT_2 | ADC10ON | REFON | REF2_5V; // Input channel 1, trigger using ADC10SC bit , no clock division , // internal ADC clock , single channel single conversions ADC10CTL1 = INCH_3 | SHS_0 | ADC10DIV_0 | ADC10SSEL_0 | CONSEQ_0; ADC10AE0 = BIT3; // Enable analog input on channel 1 ADC10CTL0 |= ENC;
in „MSP430G2231 USART letztes Zeichen kaputt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
signed_division.vhd
Library IEEE; use IEEE.std_logic_1164.all; use ieee.numeric_std.all; entity SignedDivision is generic ( N : integer := 11 ); port ( divident : in signed (N downto 0); divisor: in signed (N downto 0); quotient: out signed (N downto 0); remainder : out signed (N downto 0) ); end; architecture Behavioral of SignedDivision is begin process (divident,divisor) variable v_divident, v_divisor: integer range 0 to (2**N)-1; variable v_quotient : signed (N downto 0); begin v_divident := To_Integer(abs(divident)); v_divisor
-
Datei
main.c
ENCODER-PORT = Eingang ENCODER_PORT = 0xFF; // ENCODER-PORT = PullUp TCCR0 = (1 << CS02) | (1 << CS00); // Division durch 1024 TIMSK = 1 << TOIE0; // Timer Interrupt aktivieren } int main(void) { int32_t val = 0; ioinit(); eeprom_var(); encode_init(); sei(); // Interrupts aktivieren for(;;) { LEDS_PORT = _DP; if
in „Drehencoder reagiert ohne Abfrage“ · Mikrocontroller und Digitale Elektronik ·