Download USER`S MANUAL
Transcript
S3F84NB_UM_REV1.00 I/O PORTS Port 2 Control Register, High Byte (P2CONH) F2H, Set 1, Bank 0, R/W MSB .7 .6 .5 .4 .3 .2 .1 .0 LSB P2.4/TBPWM P2.5/TACK P2.6/TACAP P2.7/TAOUT .7 .6 bit : P2.7/TAOUT 00 01 10 11 Input mode Input mode, pull-up Push-pull output Alternative function(TAOUT) .5 .4 bit : P2.6/TACAP 00 01 10 11 Input mode(TACAP) Input mode, pull-up(TACAP) Push-pull output Alternative function (Not used) .3 .2 bit : P2.5/TACK 00 01 10 11 Input mode(TACK) Input mode, pull-up(TACK) Push-pull output Alternative function (Not used) .1 .0 bit : P2.4/TBPWM 00 01 10 11 NOTE: Input mode Input mode, pull-up Push-pull output Alternative function(TBPWM) When use this port 2, user must be care of the pull-up resistance status. Figure 9-4. Port 2 High-Byte Control Register (P2CONH) 9-9