| Electronic Components Datasheet Search |
|
M37545RLSS Datasheet(PDF) 17 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M37545RLSS Datasheet(HTML) 17 Page - Renesas Technology Corp |
|
17 / 62 page ![]() Rev.1.06 Mar 07, 2008 Page 17 of 59 REJ03B0140-0106 7545 Group I/O PORTS [Direction registers] PiD The I/O ports have direction registers which determine the input/ output direction of each pin. Each bit in a direction register corresponds to one pin, and each pin can be set to be input or output. When “1” is set to the bit corresponding to a pin, this pin becomes an output port. When “0” is set to the bit, the pin becomes an input port. When data is read from a pin set to output, not the value of the pin itself but the value of port latch is read. Pins set to input are floating, and permit reading pin values. If a pin set to input is written to, only the port latch is written to and the pin remains floating. [Pull-up control register] Pull By setting the pull-up control register (address 001616), port P0 can exert pull-up control by program. However, pins set to output are disconnected from this control and cannot exert pull- up control. [Port output mode selection register] PMOD By setting the port output mode selection register (address 001716), CMOS output or Nch open-drain can be selected for ports P1, P2, P3 by program. Fig. 13 Structure of pull-up control register Fig. 14 Structure of port output mode selection register Port P04 Port P01 Port P00 0: Pull-up transistor off 1: Pull-up transistor on b7 b0 Port P02 Port P03 Port P05 Port P06 Port P07 Pull-up control register (PULL: address 001616, initial value: 0016) Table 7 I/O port function table Pin Name Input/Output I/O format Non-port function Related SFRs Diagram No. P00 −P07 Port P0 I/O individual bits • CMOS compatible input level • CMOS 3-state output Key input interrupt Pull-up control register Key-on wakeup pin selection register Key-on wakeup edge selection regis- ter (1) P10 −P11 Port P1 • CMOS compatible input level • CMOS 3-state output or N-channel opendrain RLSS-only pin Port output mode selection register (2) P20/INT0 P21/INT1 Port P2 External interrupt input Interrupt edge selection register Port output mode selection register (3) P22 −P27 Port output mode selection register (2) P30 −P37 Port P3 Port output mode selection register (2) P40, P41 Port P4 • CMOS compatible input level • CMOS 3-state output RLSS-only pin (4) P42/CARR Carrier wave output for remote-control transmitter Carrier wave control register (5) Port P34−P37 Port P20−P23 Port P10−P11 0: CMOS output 1: Nch open-drain b7 b0 Port P24−P27 Port P30−P33 Disable (returns “0” when read) Port output mode selection register (PMOD: address 001716, initial value: 0016) |
|
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 |