| Electronic Components Datasheet Search |
|
SH79F6488P/080PR Datasheet(PDF) 41 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F6488P/080PR Datasheet(HTML) 41 Page - SINOWEALTH Electronic Ltd |
|
41 / 152 page ![]() SH79F6488/SH79F6489 41 7.7 I/O Port 7.7.1 Features 72 bi-directional I/O ports Share with alternative functions The SH79F6488/SH79F6489 has 72 bi-directional I/O ports. The PORT data is put in Px register. The PORT control register (PxCRy) controls the PORT as input or output. Each I/O port has an internal pull-high resistor, which is controlled by PxPCRy when the PORT is used as input (x = 0-8, y = 0-7). For SH79F6488/SH79F6489, some I/O pins can share with alternative functions. There exists a priority rule in CPU to avoid these functions be conflict when all the functions are enabled. (Refer to Port Share Section for details). 7.7.2 Registers Table 7.21 Port Control Register E1H - E5H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 P0CR (E1H, Bank0) P0CR.7 P0CR.6 P0CR.5 P0CR.4 P0CR.3 P0CR.2 P0CR.1 P0CR.0 P1CR (E2H, Bank0) P1CR.7 P1CR.6 P1CR.5 P1CR.4 P1CR.3 P1CR.2 P1CR.1 P1CR.0 P2CR (E3H, Bank0) P2CR.7 P2CR.6 P2CR.5 P2CR.4 P2CR.3 P2CR.2 P2CR.1 P2CR.0 P3CR (E4H, Bank0) P3CR.7 P3CR.6 P3CR.5 P3CR.4 P3CR.3 P3CR.2 P3CR.1 P3CR.0 P4CR (E5H, Bank0) P4CR.7 P4CR.6 P4CR.5 P4CR.4 P4CR.3 P4CR.2 P4CR.1 P4CR.0 P5CR (E1H, Bank1) P5CR.7 P5CR.6 P5CR.5 P5CR.4 P5CR.3 P5CR.2 P5CR.1 P5CR.0 P6CR (E2H, Bank1) P6CR.7 P6CR.6 P6CR.5 P6CR.4 P6CR.3 P62CR.2 P6CR.1 P6CR.0 P7CR (E3H, Bank1) P7CR.7 P7CR.6 P7CR.5 P7CR.4 P7CR.3 P7CR.2 P7CR.1 P7CR.0 P8CR (E4H, Bank1) P8CR.7 P8CR.6 P8CR.5 P8CR.4 P8CR.3 P8CR.2 P8CR.1 P8CR.0 R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Value (POR/WDT/LVR/PIN) 0 0 0 0 0 0 0 0 Bit Number Bit Mnemonic Description 7-0 PxCRy x = 0-8, y = 0-7 Port input/output direction control Register 0: input mode 1: output mode Table 7.22 Port Pull up Resistor Control Register E9H - EDH Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 P0PCR (E9H, Bank0) P0PCR.7 P0PCR.6 P0PCR.5 P0PCR.4 P0PCR.3 P0PCR.2 P0PCR.1 P0PCR.0 P1PCR (EAH, Bank0) P1PCR.7 P1PCR.6 P1PCR.5 P1PCR.4 P1PCR.3 P1PCR.2 P1PCR.1 P1PCR.0 P2PCR (EBH, Bank0) P2PCR.7 P2PCR.6 P2PCR.5 P2PCR.4 P2PCR.3 P2PCR.2 P2PCR.1 P2PCR.0 P3PCR (ECH, Bank0) P3PCR.7 P3PCR.6 P3PCR.5 P3PCR.4 P3PCR.3 P3PCR.2 P3PCR.1 P3PCR.0 P4PCR (EDH, Bank0) P4PCR.7 P4PCR.6 P4PCR.5 P4PCR.4 P4PCR.3 P4PCR.2 P4PCR.1 P4PCR.0 P5PCR (E9H, Bank1) P5PCR.7 P5PCR.6 P5PCR.5 P5PCR.4 P5PCR.3 P5PCR.2 P5PCR.1 P5PCR.0 P6PCR (EAH, Bank1) P6PCR.7 P6PCR.6 P6PCR.5 P6PCR.4 P6PCR.3 P6PCR.2 P6PCR.1 P6PCR.0 P7PCR (EBH, Bank1) P7PCR.7 P7PCR.6 P7PCR.5 P7PCR.4 P7PCR.3 P7PCR.2 P7PCR.1 P7PCR.0 P8PCR (ECH, Bank1) P8PCR.7 P8PCR.6 P8PCR.5 P8PCR.4 P8PCR.3 P8PCR.2 P8PCR.1 P8PCR.0 R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Value (POR/WDT/LVR/PIN) 0 0 0 0 0 0 0 0 Bit Number Bit Mnemonic Description 7-0 PxPCRy x = 0-8, y = 0-7 Input Port internal pull-high resistor enable/disable control 0: internal pull-high resistor disabled 1: internal pull-high resistor enabled |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |