www.mct.de/www.mct.net
Path in samples directory:
file (hardware-independent)
MCU-FAMILY/file (controller-specific)
MCU-FAMILY/target/file (target-specific)Demonstrates how to... 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/dac.c
- use the DAC as simple function generator.
ADUC/dac2adc.c
- use an ADC channel to monitor the DAC output.
- reduce signal noise using low pass filtering.
ADUC/iicscan.c
- master the IIC bus.
ADUC/intio.c
- install interrupt mode for the COM receiver.
ADUC/lc7024/rtc.c
- read and set the RTC.
ADUC/lc7024/serno.c
- read the silicon serial number.
ADUC/lc7128/auxio.c
- use auxin/auxout.
ADUC/lc7128/dds.c
- generate a sine wave using DDS.
ADUC/lc7128/qdec.c
- decode signals from a quadrature encoder.
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/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.
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/lc2138/adc.c
- use the ADC in burst mode.
LPC/lc2138/dac.c
- use the DAC as simple function generator.
LPC/lc2138/dac2adc.c
- use an ADC channel to monitor the DAC output.
- reduce signal noise using low pass filtering.
LPC/lc2138/tv_scope.c
- build a TV scope using the ADC+DAC+SSP.
LPC/lc2138/tv_term1.c
- build a TV terminal using the DAC.
LPC/lc2138/tv_term2.c
- build a TV terminal using the DAC+SSP.
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.
LPC/net2106/adc.c
- read a single ADC channel.
- reduce signal noise using low pass filtering.
LPC/net2106/canmon.c
- communicate via CAN.
LPC/net2106/flash_id.c
- read the serial Flash ID.
LPC/net2106/net23.c
- communicate with the ethernet module via telnet (port #23).
LPC/net2106/net80.c
- use the ethernet module as simple http server (port #80).
- read the RTC temperature sensor.
LPC/net2106/rtc.c
- read and set the external RTC.
LPC/net2106/rtc_cfg.c
- configure the external RTC.
LPC/net2106/rtc_mem.c
- read/write the external RTC memory.
LPC/powerdown.c
- enter powerdown mode.
- use an external signal for wakeup.
LPC/pulse.c
- use a timer to count pulses.
LPC/pwm.c
- produce a single edge controlled PWM signal.
LPC/pwm100.c
- produce a PWM signal with duty cycle in %.
LPC/react.c
- measure reaction time.
LPC/redirect.c
- redirect stdin/stdout/stderr to UART1.
LPC/s2103/adc.c
- use the ADC to read the temperature sensor.
LPC/s2103/fastio.c
- use high speed I/O.
LPC/s2103/serno.c
- read the silicon serial number.
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.
baud.c
- change the baudrate for stdin/stdout/stderr.
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.