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: CPU32/68k sample programs

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

Sample programDemonstrates how to...
clock.c
  • measure program execution time.
date.c
  • read and set the RTC.
rawio.c
  • use getch()/putch()/kbhit().
stdio.c
  • use stdin/stdout.
tty.c
  • change the baudrate for stdin/stdout/stderr.
  • set interrupt mode for stdin.
MC68332/pit.c
  • use the PIT to generate periodic interrupts.
MC68332/sound.c
  • use TPU channel 2 to generate sound.
MC68332/spi.c
  • use the SPI.
MC68332/tpu_di4.c
  • use TPU channel 4 as digital input.
MC68332/tpu_do2.c
  • use TPU channel 2 as digital output.
MC68332/tpu_emu.c
  • use the TPU in emulation mode.
MC68332/tpu_int4.c
  • use TPU channel 4 as interrupt input.
MC68332/tpu_pwm2.c
  • use TPU channel 2 to produce a PWM signal.
MC68332/tpu_qdec.c
  • decode signals from a quadrature encoder.
MC68332/mega332/adc1.c
  • read a single ADC channel.
  • reduce signal noise using low pass filtering.
MC68332/mega332/adc14.c
  • continuously read all ADC channels. The QSPI can do this stand-alone, after appropriate initialization.
MC68332/mega332/canmon.c
  • communicate via CAN.
MC68332/mega332/rtc_irq.c
  • use the RTC to generate interrupts.