| Electronic Components Datasheet Search |
|
H8S2245 Datasheet(PDF) 297 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S2245 Datasheet(HTML) 297 Page - Renesas Technology Corp |
|
297 / 818 page ![]() Section 8 I/O Ports Rev.3.00 Mar. 26, 2007 Page 255 of 772 REJ09B0355-0300 • Modes 3 and 7 Setting a PCDDR bit to 1 makes the corresponding port C pin an output port, while clearing the bit to 0 makes the pin an input port. Note: Modes 3 and 7 cannot be used in the H8S/2240. Port C Data Register (PCDR) 7 PC7DR 0 R/W 6 PC6DR 0 R/W 5 PC5DR 0 R/W 4 PC4DR 0 R/W 3 PC3DR 0 R/W 0 PC0DR 0 R/W 2 PC2DR 0 R/W 1 PC1DR 0 R/W Bit Initial value R/W : : : PCDR is an 8-bit readable/writable register that stores output data for the port C pins (PC 7 to PC0). PCDR is initialized to H'00 by a power-on reset, and in hardware standby mode. It retains its prior state after a manual reset, and in software standby mode. Port C Register (PORTC) 7 PC7 —* R 6 PC6 —* R 5 PC5 —* R 4 PC4 —* R 3 PC3 —* R 0 PC0 —* R 2 PC2 —* R 1 PC1 —* R Bit Initial value R/W Note: * Determined by state of pins PC7 to PC0. : : : PORTC is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of output data for the port C pins (PC 7 to PC0) must always be performed on PCDR. If a port C read is performed while PCDDR bits are set to 1, the PCDR values are read. If a port C read is performed while PCDDR bits are cleared to 0, the pin states are read. After a power-on reset and in hardware standby mode, PORTC contents are determined by the pin states, as PCDDR and PCDR are initialized. PORTC retains its prior state after a manual reset, and in software standby mode. |
|
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 |