21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Programmable I/O PortsMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERPull-up control register 0b7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetPUR0 03FC16 0016Bit symbolPU00PU01PU02PU03PU04PU05PU06PU07Bit nameP00 to P03 pull-upP04 to P07 pull-upP10 to P13 pull-upP14 to P17 pull-upP20 to P23 pull-upP24 to P27 pull-upP30 to P33 pull-upP34 to P37 pull-upFunctionR WThe corresponding port is pulledhigh with a pull-up resistor0 : Not pulled high1 : Pulled highPull-up control register 1b7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetPUR1 03FD16 0016 (Note 2)Bit symbol Bit nameFunctionPU10 P40 to P43 pull-upThe corresponding port is pulledPU11 P44 to P47 pull-up high with a pull-up resistorPU12 P50 to P53 pull-up0 : Not pulled high1 : Pulled highPU13 P54 to P57 pull-upPU14 P60 to P63 pull-upPU15 P64 to P67 pull-upPU16 P70 to P73 pull-up (Note 1)PU17 P74 to P77 pull-upR WNote 1: Since P70 and P71 are N-channel open drain ports, pull-up is not available for them.Note 2: When the VCC level is being impressed to the CNVSS terminal, this register becomesto 0216 when reset (PU11 becomes to “1”).Pull-up control register 2b7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetPUR2 03FE16 0016Bit symbolPU20PU21PU22PU23PU24Bit nameP80 to P83 pull-upP84 to P87 pull-up(Except P85)P90 to P93 pull-upP94 to P97 pull-upP100 to P103 pull-upFunctionR WThe corresponding port is pulledhigh with a pull-up resistor0 : Not pulled high1 : Pulled highPU25 P104 to P107 pull-upNothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.Figure 2.15.4. Programmable I/O ports-related registers (3)452

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

Saved successfully!

Ooh no, something went wrong!