English
Language : 

M16C6K7 Datasheet, PDF (217/285 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Rev.1.0
PS2 Interface
Mitsubishi microcomputers
M16C / 6K7 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(2) Operation description
q Basic setting
The following items should be set for PS2 mode register (address 02AC16) set when PS2 interface is used.
• PS2 interface enable bit
Set the PS2 interface enable bits (bit4 to 6 of PS2 mode register) to “1” to enable the PS2 channels to be
used. At this time PS2 clock goes “Low” (Receiving disable).
• Sampling clock selection bit
Sampling clock cycle (1/4,1/8,1/16,1/32 of main clock) is selected by setting sampling clock bit (bits 0,1).
• External interrupt function support pin (PS2B) selection
This bit is used to select PS2 clock (CLK) or PS2 data (DAT) for the external interrupt function support pin
(PS2B).
216