Personal tools
You are here: Home Downloads M16C / M32C I/O Setup

I/O Setup

Info and examples on setting up I/O.

File Button and Encoder input using iOC.
This project uses the Interrupt On Change (IOC) feature to determine when external buttons have been pressed.
File I/O using interrupts.
Provides an example of Interrupt on Change processing with external I/O.
File IDE interface for CD-ROM drive
This project provides an example of how to connect to a standard ATAPI CD-ROM drive using a 16 bit IDE buss.
File Relay driver.
Quick and simple info and code to drive a relay using general purpose I/O.
File Stepper and Actuator Control
Provides an example of controlling a stepper motor and various actuators in software.
File Telco interface example
This project provides an example of how to connect to a standard telephone line.
File Using a 2 bit rotary encoder.
This project provides code for decoding and debouncing a 2 bit rotary encoder.