img
Dorfstr. 4-6
D-17495 Ranzin
Germany

Fon: +49 038355 68740
Fax: +49 038355 68742


img Products
   Controller boards
   Interface modules
   Development tools

img Top Themes
   Smartphones
   Bluetooth

img Download
   Software
   Data sheets
   Pricelist
   Archive

img Find
   

© 2017 PAULundSCHERER
Site notice (German)
mct.net: Software: ARM sample programs

img All samples (including header files) as zip-archive

Sample ProgramDemonstrates how to...
baud.c
  • change the baudrate for stdin/stdout/stderr.
exception.c
  • install exception handlers.
math.c
  • print floating-point numbers.
  • use the math lib functions.
rawio.c
  • use read()/write().
  • use getch()/putch()/kbhit().
stdio.c
  • use stdin/stdout.
ADUC/adc.c
  • use the ADC as die thermometer.
ADUC/blink.c
  • use a timer to trigger periodic events with no interrupt active.
ADUC/clock.c
  • measure program execution time.
ADUC/dac2adc.c
  • use an ADC channel to monitor the DAC output.
  • reduce signal noise using low pass filtering.
ADUC/dac.c
  • use the DAC as simple function generator.
ADUC/iicscan.c
  • master the IIC bus.
ADUC/intio.c
  • install interrupt mode for the COM receiver.
ADUC/pwm.c
  • produce a PWM signal.
ADUC/sound.c
  • use the timers to generate sound.
ADUC/spi.c
  • use the SPI.
ADUC/timer.c
  • use a timer to generate periodic interrupts.
ADUC/usrio1.c
  • install a user-defined I/O function.
ADUC/usrio2.c
  • install interrupt mode for stdin using redirection to a user-defined function.
ADUC/vectbl.c
  • install handlers for SWI/IRQ/FIQ using the interrupt vector table.
  • use programmed interrupt-IRQ/FIQ.
ADUC/net7026/flash_id.c
  • read the serial Flash ID.
ADUC/net7026/flash_rw.c
  • read and write the serial Flash.
ADUC/net7026/loopback.c
  • use the ethernet device in loopback mode (DAC channel 0 is tied to ADC channel 0).
ADUC/net7026/net23.c
  • communicate with the ethernet device via telnet (port #23).
ADUC/net7026/net80.c
  • use the ethernet device as simple http server (port #80).
ADUC/net7026/rtc.c
  • read and set the external RTC.
ADUC/net7026/rtc_cfg.c
  • configure the external RTC.
ADUC/net7026/rtc_mem.c
  • read/write the external RTC memory.
ADUC/net7026/temp.c
  • use the ADC as die thermometer.
  • read the RTC temperature sensor.
LPC/alarm.c
  • set the RTC.
  • set the RTC alarm timer.
  • generate an interrupt when the alarm time has been reached.
LPC/auxio.c
  • use auxin/auxout.
LPC/blink.c
  • use a timer to trigger periodic events with no interrupt active.
LPC/clock.c
  • measure program execution time.
LPC/date.c
  • read and set the RTC.
LPC/iap.c
  • use the IAP functions.
LPC/idle.c
  • enter idle mode.
  • use the RTC for wakeup once a minute.
LPC/iicscan.c
  • master the IIC bus.
LPC/intio.c
  • install interrupt mode for the UART0 receiver.
LPC/powerdown.c
  • enter powerdown mode.
  • use an external signal for wakeup.
LPC/pulse.c
  • use a timer to count pulses.
LPC/pwm100.c
  • produce a PWM signal with duty cycle in %.
LPC/pwm.c
  • produce a single edge controlled PWM signal.
LPC/react.c
  • measure reaction time.
LPC/redirect.c
  • redirect stdin/stdout/stderr to UART1.
LPC/sound.c
  • use the timers to generate sound.
LPC/spi.c
  • use the SPI.
LPC/timer.c
  • use a timer to generate periodic interrupts.
LPC/usrio1.c
  • install a user-defined I/O function.
LPC/usrio2.c
  • install interrupt mode for stdin using redirection to a user-defined function.
LPC/vectbl.c
  • install handlers for SWI and FIQ using the interrupt vector table.
LPC/watchdog.c
  • use the watchdog for reset.
LPC/bridge1/dcm.c
  • decode signals from a quadrature encoder.
  • run a DC motor using varying PWM signals.
LPC/lc2138/adc.c
  • use the ADC in burst mode.
LPC/lc2138/counter1.c
  • build a frequency counter using timer counter mode.
LPC/lc2138/counter2.c
  • build a frequency counter using timer counter mode. The counter is gated through a timed capture input.
LPC/lc2138/dac2adc.c
  • use an ADC channel to monitor the DAC output.
  • reduce signal noise using low pass filtering.
LPC/lc2138/dac.c
  • use the DAC as simple function generator.
LPC/lc2138/video.c
  • use the DAC as simple video generator.
LPC/lc2194/adc.c
  • use the ADC in burst mode.
LPC/lc2194/canmon.c
  • communicate via CAN.