AN 265: Using Altera MAX Series as Microcontroller I/O Expanders