-
Datei
lcd.vhd
; when 10220 => lpc_bit_8 <= not lpc_bit_8; lpc_bit_24 <= '0'; lpc_bit_16 <= '0'; lpc_bit_32 <= '0'; when 10221 => lpc_bit_16 <= not lpc_bit_16; lpc_bit_24 <= '0'; lpc_bit_8 <= '0'; lpc_bit_32 <= '0'; when 10222 => lpc_bit_24 <= not lpc_bit_24; lpc_bit_8 <= '0'; lpc_bit_16 <= '0'; lpc_bit_32 <= '0'; when 10223 => lpc_bit_32 <= not lpc_bit_32; lpc_bit_24 <= '0'; lpc_bit_16 <= '0'; lpc_bit_8 <= '0'; ----------------------pcie--------
in „Umwandlung std_logic_vector to integer alternative“ · FPGA, VHDL & Co. ·
-
Datei
pwm.c
uint32_t PWM_Init( uint32_t ChannelNum, uint32_t cycle ) { if ( ChannelNum == 1 ) { match_counter1 = 0; LPC_PINCON->PINSEL4 = 0x00000001; /* set GPIOs for all PWM pins on PWM */ LPC_PWM1->TCR = TCR_RESET; /* Counter Reset */ LPC_PWM1->PR = 0x00; /* count frequency:Fpclk */ LPC_PWM1->MCR = PWMMR0I; /* interrupt on PWMMR0, reset on PWMMR0, reset TC if PWM matches */ LPC_PWM1->MR0 = PWM_CYCLE; /* set PWM cycle */ LPC_PWM1->MR1 = cycle; /* all PWM latch enabled */ LPC_PWM1->LER = LER0_EN | LER1_EN; } else { return ( FALSE ); /* Unknown channel number */ } NVIC_EnableIRQ
in „LPC1769 PWM Probleme bei Dutycycle“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AN10496-NXP.pdf
AN10496 Vacuum cleaner with Philips P89LPC901 Rev. 01 — 10 August 2006 Application note Document information Info Content Keywords P89LPC901, Vacuum Cleaner, Soft start, Harmonic suppression, Low cost Abstract A low cost P89LPC901 based vacuum
in „Controller an 230VAC wie realisieren?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lpc43xx_spi.h
-------------------------------- */ /** @defgroup SPI SSP (Serial Peripheral Interface) * @ingroup LPC4300CMSIS_FwLib_Drivers * @{ */ #ifndef lpc43xx_SPI_H_ #define lpc43xx_SPI_H_ /* Includes ------------------------------------------------------------------- */ #include "lpc43xx.h" #include "lpc_types.h
in „Cortex M0/M4 SPI nach CMSIS ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
readme.txt
hyoklinux uClinux-dist]# gzip -dc ~/incoming/linux-2.6.5-hsc2.patch.gz | patch -p0 III. Add Philips LPC22xx patch Now it's time to add Philips LPC22xx patch to the uClinux package. Untar the downloaded Philips LPC22xx patch package, [root@hyoklinux incoming]# tar -zxvf uClinux-philips-lpc22xx.tar.gz [
in „uCLinux Bootloader + Kernel für ARM LPC2294“ · Projekte & Code ·
-
PDF
seminar_algo_final.pdf
der Filterordnung sind x_hop, die Segmentlänge der Pitchmarkanalyse und block_N, die Blocklänge der LPC einzugeben. Ausgegeben wird das pitchgeshiftete Signal mit und ohne formantsaving und die Matrix mit allen Impulsantworten der LPC. algo_2 OLA SOLA lpc_test psola catch_M lpc_out lpc_out test_lp_psola lp_psola psola catch_M lpc_out 21 algo_2 testet ola oder sola durch einfachen Aufruf dieser. Lpc_test führt entweder eine einmalig lpc_out aus oder ruft catch_M auf, die ihrerseits das Signal zerteilt und die LPC für alle Signalabschnitte
in „Musiktempoänderung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config.c
Accesstime = 5.5 ns (CL=3 ; CAS read latency) konkret angeschlossen ist der SDRAM so: RAM A0..A11 an LPC A0..A11 RAM Pin69 (A12) an LPC A12 RAM BA0 an LPC A13 RAM BA1 an LPC A14 RAM CKE an LPC CKE_0 RAM CLK an LPC CLK_0 RAM CS an LPC DYCS0 RAM WE an LPC WE RAM CAS an LPC CAS RAM RAS an LPC RAS RAM DQM0 an LPC DQM_0 RAM DQM1 an LPC DQM_1 RAM DQM2 an LPC DQM_2 RAM DQM3 an LPC DQM_3 RAM DQ0..31 an LPC DQ0..31 EMC läuft mit CCLK (also EMCCLK=CCLK), macht 120 MHz, also 8.33 ns pro Clocktakt Mapping laut NXP:
in „LPC4076FDB144“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ohci.c
*********/ #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef __USE_CMSIS #include "LPC17xx.h" #endif #ifdef __USE_DRIVER #include "lpc_types.h" #include "lpc17xx_pinsel.h" #endif #include "global_inc.h" #include "usart.h" #include "usb.h" #include "ohci.h" #include "utils/delay.h" USBDevice_t
in „USB-Host LPC1769“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
svpwm_db.c
// #ifdef __USE_CMSIS // #include "LPC17xx.h" // #endif // #include "core_cm3.h" // // // Makros für die GPOIS des LPC1760 ------------------------------------ // #define PINSEL ((volatile uint32_t*)&LPC_PINCON->PINSEL0) // #define PINMODE
in „SVPWM mit LPC1769“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
UM08001_JLinkARM.pdf
LPC2148 NXP LPC2194 LPC2194 NXP LPC2212 LPC2212 NXP LPC2214 LPC2214 NXP LPC2292 LPC2292 NXP LPC2294 LPC2294 NXP LPC2364 LPC2364 NXP* LPC2365 LPC2365 NXP LPC2366 LPC2366 NXP* LPC2367 LPC2367 NXP LPC2368
in „[V] J-Link JTAG Adapter USB für ARM abzugeben“ · Markt ·
-
Datei
benchmark.c
// PIC18@10MIPS = // PIC24@40MIPS = 96.2µs // dsPIC@30MIPS = 128.26µs // ATMEGA@16MIPS = 641µs // LPC2103@60MIPS = 46.93µs pa8 = a; for (i=0; i<256; i++) { *pa8++=0; } // fill 256 single bytes // PIC18@10MIPS = // PIC24@40MIPS = // dsPIC@30MIPS = 128.26µs // ATMEGA@16MIPS = 657µs // LPC2103@60MIPS =
in „LPC2103 63MIPS?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ov7670.c
#include <stdio.h> #include "LPC17xx.H" #include "Serial.h" #include "i2c.h" #include "ov7670.h" #include "ov7670reg.h" #include "delay.h" #include "type.h" #include "GLCD.h" #define ST_VSYNC (LPC_GPIO2->FIOPIN & (1 << 8)) #define
in „brauche eure Hilfe bei diesem Project“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LPC900_Kap10Erg_SPI.pdf
weiteres /SSx-Signal benötigt. Mit der MOSI-Leitung Weitere Informationen zum Buch „Keil C51/Philips LPC900“ finden sie unter www.c51.de Aufbau der LPC900-Familie 283’ werden die Daten seriell vom Master zum Slave gesendet. Mit der MISO-Leitung werden die Daten vom Slave empfangen. Die SPICLK-Leitung sorgt
in „SCA100T-D02 SPI Problem“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
an10493_LPC214x_powerdown.pdf
LPC2100 system and have a USB interface for both power and serial communication. The Keil MCB2140 Evaluation Board connects to your PC using the serial port (for Flash download using the Philips LPC210x
in „LPC2148 Powerdown“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
benchmark.c
= 16.2µs // Z16F@20MIPS = 1.0µs // LPC2103@60MIPS = 2.47µs r16 = x16/y16; // signed Int32/Int32 // PIC18@10MIPS = // PIC24@40MIPS = 11.73µs // dsPIC@30MIPS = 15.63µs // ATMEGA@16MIPS = 42.19µs // Z16F@20MIPS = 1.0µs // LPC2103@60MIPS = 2.52µs
in „LPC2103 63MIPS?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
messungen_emc_lpc2468.pdf
Messungen am externen Businterface des LPC2468 Allgemeine Angaben CCLK 72 MHz Tastkopf Agilent 1165A (1 pF, 10 M) Oszilloskop Agilent 54831B (600 MHz Bandbreite, 4 bzw. 2 GSa/s) 1. CLKOUT des LPC2468 bei 72 MHz Gemessen am Pin 59 messungen_emc_lpc2468
in „EBI-Routing des LPC2478“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ICPBridgeVddSwitch.pdf
reference in AN10258_2.pdf is Section 4 (page 7). *** See disclaimer at the bottom *** BACKGROUND NXP P89LPC9xx parts (affectionately know as the LPC900 series of micro controllers) can be programmed 4 ways… 1. ISP (In-System-Programmed) using the UART of the LPC900 2. IAP (In-Application-Programmed) .. or
in „P89LPC901 - keine Ausgabe auf Port0 und/oder Port1 :(“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ICPBridgeVddSwitch.pdf
reference in AN10258_2.pdf is Section 4 (page 7). *** See disclaimer at the bottom *** BACKGROUND NXP P89LPC9xx parts (affectionately know as the LPC900 series of micro controllers) can be programmed 4 ways… 1. ISP (In-System-Programmed) using the UART of the LPC900 2. IAP (In-Application-Programmed) .. or
in „ISP Programmer für RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stdio.h> #include "LPC8xx.h" #include "gpio.h" #include "mrt.h" #include "sct.h" #include "lpc8xx_pmu.h" #include "adc.h" #if defined(__CODE_RED) #include <cr_section_macros.h> #include <NXP/crp.h> __CRP const unsigned int
in „LPC810 SCT-PWM Projekt Fehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
benchmark.c
1.0µs // LPC2103@60MIPS = 2.52µs r32 = x32/y32; // float/float // PIC18@10MIPS = // PIC24@40MIPS = 9.63µs // dsPIC@30MIPS = 12.83µs // ATMEGA@16MIPS = 91.44µs // Z8Enc!XP@20MIPS = 67.0µs // Z16F@20MIPS = 6.0µs // LPC2103@60MIPS = 3.7µs rf = xf/yf; // float/float // PIC18@10MIPS = // PIC24@40MIPS = 2.9µs // dsPIC@30MIPS = 3.9µs // ATMEGA@16MIPS = 123.56µs // Z8Enc!XP@20MIPS = 60.0µs // Z16F@20MIPS = 5.0µs // LPC2103
in „LPC2103 63MIPS?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
benchmark.c
1.0µs // LPC2103@60MIPS = 2.52µs r32 = x32/y32; // float/float // PIC18@10MIPS = // PIC24@40MIPS = 9.63µs // dsPIC@30MIPS = 12.83µs // ATMEGA@20MIPS = 25.15µs // Z8Enc!XP@20MIPS = 67.0µs // Z16F@20MIPS = 6.0µs // LPC2103@60MIPS = 3.7µs rf = xf/yf; // float/float // PIC18@10MIPS = // PIC24@40MIPS = 2.9µs // dsPIC@30MIPS = 3.9µs // ATMEGA@20MIPS = 7.9µs // Z8Enc!XP@20MIPS = 60.0µs // Z16F@20MIPS = 5.0µs // LPC2103
in „LPC2103 63MIPS?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.vhd
= '1' then -- 1MHz taster1 <= taster; if taster1 = '0' and taster = '1' then start <= true; state_lpc <= 0; elsif addr = '1' & x"00000000" and state_lpc = 39 then start <= false; end if; if start then if set_counter_to_27 then state_lpc <= 27; elsif set_counter_to_37 then state_lpc <= 37; elsif set_counter_to_40 then state_lpc <= 40; else state_lpc <= state_lpc + 1; end if; end if; end if; end if; end process state_lpc_bus; -- wenn bei übernahme des busses der mc warten muss set_counter_to_27 <= ((state_lpc = 27) AND ((lad_in
-
Datei
benchmark.c
1.0µs // LPC2103@60MIPS = 2.52µs r32 = x32/y32; // float/float // PIC18@10MIPS = // PIC24@40MIPS = 9.63µs // dsPIC@30MIPS = 12.83µs // ATMEGA@16MIPS = 91.44µs // Z8Enc!XP@20MIPS = 67.0µs // Z16F@20MIPS = 6.0µs // LPC2103@60MIPS = 3.7µs rf = xf/yf; // float/float // PIC18@10MIPS = // PIC24@40MIPS = 2.9µs // dsPIC@30MIPS = 3.9µs // ATMEGA@16MIPS = 123.56µs // Z8Enc!XP@20MIPS = 60.0µs // Z16F@20MIPS = 5.0µs // LPC2103
in „ATMEL billiger und leistungsfähiger als PIC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc.c
#include "LPC8xx.h" #include "adc.h" #include "gpio.h" #define halt_clk(c) LPC_MRT->Channel[3].INTVAL = (c-3) void SysTick_Handler () { // the only effect is to generate an interrupt, no work is done here } // setup the analog(ue) comparator, using the ladder on + and pin PIO0_1 on - void adc_init () { LPC_SYSCON->PDRUNCFG &= ~(1<<15); // power up comparator LPC_SYSCON->SYSAHBCLKCTRL |= (1<<18) | (1<<19); // ACMP & IOCON clocks LPC_SYSCON->PRESETCTRL &= ~(1<<12); // reset comparator LPC_SYSCON->PRESETCTRL
in „LPC810 SCT-PWM Projekt Fehler“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
lpc24xx_externalmemory.pdf
Figure 2-11 Memory bank (32-bit) constructed from 16-bit memory * * Cypress CY7C1041CV33-12ZXC * * LPC2468 CCLK : 60MHz * * LPC2460 CCLK : 72MHz * *******************************************************************/ #ifdef SRAM_CS0_CONFIG_32BIT EMCSTATICCNFG0 = 0x00000082; #endif #ifdef SRAM_CS0_CONFIG
in „LCD Timings - SVGA - LPC2478“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
lpc24xx_externalmemory.pdf
Figure 2-11 Memory bank (32-bit) constructed from 16-bit memory * * Cypress CY7C1041CV33-12ZXC * * LPC2468 CCLK : 60MHz * * LPC2460 CCLK : 72MHz * *******************************************************************/ #ifdef SRAM_CS0_CONFIG_32BIT EMCSTATICCNFG0 = 0x00000082; #endif #ifdef SRAM_CS0_CONFIG
in „LPC24xx Timing Diagramm für Memory Controller?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Makefile.txt
= no # --------------------------------------------------------------------------- # Options for lpc21isp by Martin Maurer # lpc21isp only supports NXP LPC and Analog ADuC ARMs though the # integrated uart-bootloader (ISP) # # Settings and variables: LPC21ISP = lpc21isp LPC21ISP_FLASHFILE = $(OUTDIR
in „Nur geänderte datein compilieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Microcontroller_Experimentierboard.pdf
; P89C51RA2xx; P89C51RB2xx; P89C51RC2xx; P89C51RD2xx; P89C60X2; P89C61X2;P89LV51RD2; P89V51RD2; P89LPC901 (requires ICP to ISP bridge); P89LPC902 (requires ICP to ISP bridge); P89LPC903 (requires ICP to ISP bridge); P89LPC906 (requires ICP to ISP bridge); P89LPC907 (requires ICP to ISP bridge); P89LPC908 (requires ICP to ISP bridge); P89LPC912 (requires ICP to ISP bridge); P89LPC913 (requires ICP to ISP bridge); P89LPC914 (requires ICP to ISP bridge); P89LPC920; P89LPC921; P89LPC922; P89LPC930; P89LPC931; P89LPC932; P89LPC933; P89LPC934
in „AT89S52 => Programmierung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
P87LPC767BN.pdf
853-2255 26851 Philips Semiconductors Product data Low power, low price, low pin count (20 pin) 87LPC767 microcontroller with 4-kbyte OTP and 8-bit A/D converter ORDERING INFORMATION Type number Package Temperature Name Description Version Range (⋅C) P87LPC767BN DIP20 plastic dual in-line package; 20 leads (300 mil) SOT146-1 0 to +70 P87LPC767BD SO20 plastic small outline package; 20 leads; body width 7.5 mm SOT163-1 0 to +70 P87LPC767FN DIP20 plastic dual in-line package; 20 leads (300 mil) SOT146-1 –40 to +85 P87LPC767FD SO20 plastic
in „uC P87LPC767 ,ports als schmitt-trigger eingänge“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
board_schematic2.pdf
LVDS_I2C_CLK A83 LVDS_I2C_DAT PCIE_RX5+ B53 PCIE5_RX- PCIE5_RX+ 10 12,13,15 LPC_AD2 LPC_AD3 B7 LPC_AD2 USB2+ A42 USBP2J USBP2 6 18 LVDS_I2C_CLK LVDS_I2C_CK PCIE_RX5- PCIE5_RX- 10 12,13,15 LPC_AD3 LPC_DRQ0# B8 LPC_AD3 USB2- USBP2J 6 PCIE_CLK_REF+ 12,13,15 LPC_DRQ0# LPC_DRQ1# LPC_DRQ0
in „USB 2.0 Beschaltung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lpc17_rotary.c
/* * lpc17_rotary.c * * Created on: 03.06.2011 * Author: let */ #include "lpc17_rotary.h" #include <timer.h> #include <defines.h> void rotary_init() { LPC_SC->PCONP |= _BV(18); SET_PCB(PINSEL3, 8, PCB_ALT1);
in „Quadrature Encoder Interface LPC“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
8051_Programmer.pdf
KBI5 RST / P1.5 P0D303 P0.7 / T1 / KBI7 V P1.7 14 P0.6 / CMP1 / KBI6 S P1.6 9 13 P0D3013 S P0D202 P LPC9xx P0.7 / T1 / KBI7 V P1.7 5 0 P0LPC922 / LPC936 P/0LePxCt9e2r2n /(lLoPnCg93p6re/sse)x0t1ern (long pGNDs)02 0 Reset LPC 5P LPC922 / LPC936 / extern (long press) 3.3V GND GND P0LPC92202 P0LPC9220P10R401 P0R402 P1 P2 3.3V LPC922 R4 P0P1011 P0.0 P0P000 P0P201 1K P0P1022 P0.1 P0P001 P0P202 P0LPC93602 P0LPC9360P10R501 P0R502 P0P1033 P0.2 P0P002 P0P203 ResetRESET P0P1044 P0.3 P0P003 P0P204 R5 P0extern0LED02P0extern0LED01 P0R601
-
Datei
device2007.txt
P89C51RA2F, P89C51RB2F, P89C51RC2F, P89C51RD2F, P89C60X2, P89C61X2, P89C660, P89C662, P89C664, P89C668, P87LPC759, P87LPC760, P87LPC761, P87LPC762, P87LPC764, P87LPC767, P87LPC768, P87LPC769, P89LPC901, P89LPC902, P89LPC903, P89LPC906, P89LPC907, P89LPC908, P89LPC9107, P89LPC912, P89LPC913, P89LPC914, P89LPC915, P89LPC916, P89LPC917, P89LPC920, P89LPC921, P89LPC922, P89LPC9221, P89LPC924, P89LPC925, P89LPC930, P89LPC931, P89LPC932, P89LPC932A1, P89LPC933, P89LPC934, P89LPC935, P89LPC936, P89LPC938, P89V51RB2, P89V51RC2
in „24C04 beschreiben und auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
user.manual.lpc17xx.pdf
UM10360 LPC17xx User manual Rev. 2 — 19 August 2010 User manual Document information Info Content Keywords LPC1769, LPC1768, LPC1767, LPC1766, LPC1765, LPC1764, LPC1763, LPC1759, LPC1758, LPC1756, LPC1754, LPC1752
in „LPCxpresso 1769 I2C Takt einstellen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ebi_driver.c
or 4-port. */ void EBI_Enable( EBI_SDDATAW_t sdramDataWidth, EBI_LPCMODE_t lpcMode, EBI_SRMODE_t sramMode, EBI_IFMODE_t interfaceMode ) { /* These fields fill up the whole register, so we don't have to protect any bits with masks. */ EBI.CTRL = (uint8_t) sdramDataWidth | lpcMode
in „SDRAM und Xmeaga-A X-Plained“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
defines.h
OTYPER&=~(3<<(y*2))// #endif //################################################################ #if zucLPC176x #include "c:\zuc\lpc\LPC176x.h"//error #define RxFliterCtrl #define CCR 2x #define pinSET(portn,pinn) (*(volatile uint32_t*)(0x2009C018UL+(portn*0x20UL)))|=(1UL<<pinn) #define pinCLR(portn,pinn)
in „Header Datei für Konfiguration erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Elektronikladen07.pdf
, bestückt mit LPC2129 58,40 EUR LPCH2138 LPC2000 Header Board, bestückt mit LPC2138 58,40 EUR LPCH2148 LPC2000 Header Board, bestückt mit LPC2148 37,40 EUR LPCH2214 LPC2000 Header Board, bestückt mit LPC2214 81,50 EUR
in „MC68000 von Motorolla“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PRICE2005.pdf
for detailed code comparisons. BUCH2 Praxis mit dem Keil C51-Compiler 51,00 BUCH3 Keil C51 / Philips LPC900 51,00 LPC Development Kits - for Philips 89LPC9xx Devices Part No. Description Price in € MCB900 Evaluation Board for Philips 89LPC9xx (includes µVision2 - LPC Studio 60,00 with 4K limited Compiler
in „welcher µC ist am besten geeignet“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LPC2300_I2S_Intro_ARM_Devcon_Demo.pdf
I2S connection has one master, which is always the master, and one slave. • The I2S interface on the LPC2300 provides a separate transmit and receive channel, each of which can operate as either a master or a slave. 2 I2S Format 3 LPC2300 I2S Interface • The I2S input can operate in both master and slave
in „Audio DAC für LPC2378“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Testing_USB_of_CP_JR_ARM7_USB_LPC2148.pdf
Example Used USB Function of CP-JR ARM7 USB-LPC2148 Example of using USB of LPC2148 from ETT The example to application USB of LPC2148 with Board “CP- JR-ARM7 USB-LPC2148”from ETT, we recommend an example of using USB as USB Control I/O type to control
in „ETT 2148 Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
kk_sd_cmd25_write.h
xchg_spi(0xfd); break; }//switch return; } void DMA0_from_buffer_to_SSP0_init(void){ DMA_STATUS=1; LPC_SC->DMAREQSEL = 0;// SC_DMASEL_timer0_MATCH1_notUART0rx;//i.V.m. DMAC_SRC_PERIP(9)LPC_GPDMACH0->DMACCConfig LPC_SC->PCONP |= (1<<29);//Enable clock to DMA controller LPC_GPDMACH0->DMACCDestAddr = &(
-
Datei
lpc3131_adc.h
/* * lpc3131_adc.h * * * LAST CHANGE: 22. dec. 2011 Nils Stec * * Authors: Nils Stec, "krumeltee", <info@fi-no.de>, (c) 2011 - the kernel module on top of the adc code * Michael Schwarz, (c) 2011 - the adc code
in „GNUBLIN www.gnublin.org“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lpc3131_adc.h
/* * lpc3131_adc.h * * * LAST CHANGE: 26. dec. 2011 Nils Stec * * Authors: Nils Stec, "krumeltee", <info@fi-no.de>, (c) 2011 - the kernel module on top of the adc code * Michael Schwarz, (c) 2011 - the adc code
in „GNUBLIN www.gnublin.org“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
================================================================== */ #ifdef __USE_CMSIS #include "LPC18xx.h" #include "emc.h" #include "lpc18xx_cgu.h" #endif #include <cr_section_macros.h> #include <NXP/crp.h> __CRP const unsigned int CRP_WORD = CRP_NO_CRP ; #define SDRAM_BASE_ADDR 0x28000000 unsigned
in „LPC1857 ARM Cortex M3 Problem mit EMC und SDRAM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sdmm.c
(LPC_GPIO, MMC_DI_PORT, MMC_DI_PIN) /* Set MMC DI "high" */ #define DI_H() \ Chip_GPIO_SetPinOutHigh(LPC_GPIO, MMC_DI_PORT, MMC_DI_PIN) /* Set MMC DI "low" */ #define DI_L() \ Chip_GPIO_SetPinOutLow(LPC_GPIO
in „SD Karte shutdown“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
task.c
tmp_str[20]; dogm_init(); GPIO1_OUT(0); GPIO1_OUT(1); // Konfiguriert die Pulsweite für den Motor LPC_PWM1->PR = 25; LPC_PWM1->PC = 0; LPC_PWM1->TC = 0; LPC_PWM1->MR0 = 255; LPC_PWM1->MR1 = 100; LPC_PWM1->MCR = 2; LPC_PWM1->PCR = (1<<9); LPC_PWM1->LER = 3; LPC_PWM1->TCR = 0x09; GPIO1_SET(0); GPIO1_CLR
in „Problem beim Multitasking (ARM Cortex M3)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc_drv.c
Suite 330, Boston, MA 02111-1307 USA * */ #define __ADC_DRV_C__ #include <mach/registers.h> #include "lpc3131_adc.h" u16 lpc3131_adc_read(int channel, int resolution) { u16 result = 0xffff; int timeout = 0xffffff; if((ADC_INT_STATUS_REG & 1)) { // wait if there is a conversion while(ADC_INT_STATUS_REG &
in „GNUBLIN www.gnublin.org“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dac_test_.c
#include "lpc17xx.h" #include "lpc_types.h" #include "dac_test_.h" void DACInit( void ) { /* setup the related pin to DAC output */ LPC_PINCON->PINSEL1 = 0x00200000; /* set p0.26 to DAC output */ LPC_DAC->DACCNTVAL = 0x00FF; LPC_DAC->DACCTRL = (0x1<<1)|(0x1<<2); // enable counter, enable double buffer /*alternativ * LPC_PINCON->PINSEL1 = 0x00200000; * LPC_DAC->DACCTRL |= 0x1; alternativ */ return; }
in „DAC+DMA LPC1769“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
flushmagic.py
retained for deep power-down mode for full power. DEVICES = { # PartID Name Flash RAM ROM 0x00008100: ["LPC810M021FN8", [0x00000000, 4*1024],[0x10000000, 1*1024],[0x1FFF0000, 8*1024]], 0x00008110: ["LPC811M001JDH16", [0x00000000, 8*1024],[0x10000000, 2*1024],[0x1FFF0000, 8*1024]], 0x00008120: ["LPC812M101JDH16", [0x00000000, 16*1024],[0x10000000, 4*1024],[0x1FFF0000, 8*1024]], 0x00008121: ["LPC812M101JD20", [0x00000000, 16*1024],[0x10000000, 4*1024],[0x1FFF0000, 8*1024]], 0x00008122: ["LPC812M101JDH20", [0x00000000, 16*1024],[0x10000000, 4*1024],[0x1FFF0000, 8*1024]] # TODO: ["LPC1114FN28"
-
Datei
cantest.c
BITRATE125K18MHZ ); CAN_SetACCF( ACCF_BYPASS ); while ( CAN2RxDone != TRUE ); CAN2RxDone = FALSE; LPC_GPIO2->FIODIR = 0x000000FF; /* P1.16..23 defined as Outputs LPC_GPIO2->FIOCLR = 0x000000FF; /* turn off all the LEDs /* Wake up first time, now, blink 10 times. for ( j = 0; j < 10; j++ ) { for ( i = 0; i < 0x200000; i++ ); LPC_GPIO2->FIOSET = 0x000000FF; for ( i = 0; i < 0x200000; i++ ); LPC_GPIO2->FIOCLR = 0x000000FF; } /* Once the LED blink number of times, the MCU will go to sleep or power down mode again. Another incoming
in „sprintf mehrfach“ · Mikrocontroller und Digitale Elektronik ·