09.07.2015 Views

mitsubishi - Al Kossow's Bitsavers

mitsubishi - Al Kossow's Bitsavers

mitsubishi - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MITSUBISHI MICROCOMPUTERSMS0790SPINPUT/OUTPUT EXPANDERTable 1 Addresses reserved for I/O expanderAddress (hexadecimal)Data bitin zero page D7* I D6* I Ds* I D4* I D3 I D2, 1 D1 1 DoDF P49 Direction RegisterDEDD P48 Direction RegisterDCDB P47 Direction RegisterDAD9 P46 Direction RegisterD8D7 P45 Direction RegisterD6D5D4D3D2D1P49P48P47P46P45P44P43P42P41P40DO* Bits D4-D7 are ignored when the M50790SP is accessed.*Remarks0: Input, 1: OutputCMOS 3state 1/00: Input, 1: OutputCMOS 3state 1/00: Input, 1: OutputCMOS 3state 1/00: Input; 1: OutputCMOS 3state 1/00: Input, 1: OutputCMOS 3state 1/0Pch Open Drain OutputNch OPen Drain OutputqqqTable 2 Port setting examplesDirection register (low-order 4 bits)Port P4i bitD3 D2 D1 Do P4 i3 P4 i2 P4 i1 P4 io0 0 0 0 Input Input Input Input0 0 0 1 Input Input Input Output0 0 1 0 Input Input Output Input0 0 1 1 Input Input Output Output0 1 0 0 Input Output Input Input0 1 0 1 Input Output Input Output0 1 1 0 Input Output Output Input0 1 1 1 Input Output Output Output1 0 0 0 Output Input Input Input1 0 0 1 Output Input Input Output1 0 1 0 Output Input Output Input1 0 1 1 Output Input Output Output1 1 0 0 Output Output Input Input1 1 0 1 Output Output Input Output1 1 1 0 Output Output Output Input1 1 1 1 Output Output Output OutputIIIGOutputregisterj "0" = ONlVDDo",P""09''''''-1 ~'""=ONVss(a) P40-P43 (n-channel open drain)(b) P44 (p-channel open drain)(c) P45-P49 (C-MOS)3stateFig.2Output port format• MITSUBISHI,;"ELECTRIC6-25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!