| Electronic Components Datasheet Search |
|
7906 Datasheet(PDF) 113 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7906 Datasheet(HTML) 113 Page - Renesas Technology Corp |
|
113 / 531 page ![]() TIMER A 7906 Group User’s Manual Rev.2.0 7-10 RW RW RW RW RW RW — 0 1 2 3 4 5 7, 6 0 0 0 0 0 0 0 0 Pin TA4OUT Pin TA4IN Pin TA9OUT Pin TA9IN Pin TB0IN (Note 1) Pin TB1IN (Note 2) Pin TB2IN (Note 3) Pin INT3/RTPTRG0 (Note 4) 7.2 Block description 7.2.6 Port P2 and port P6 direction registers The I/O pins of timers A0 to A2 are multiplexed with port P6 pins, and the I/O pins of timers A4 and A9 are multiplexed with port P2 pins. When using these pins as timer Aj (j = 0 to 2, 4, 9)’s input pins, clear the corresponding bits of the port P6 and port P2 direction registers to “0” in order to set these port pins for the input mode. When used as timer Aj’s output pins, these pins are forcibly set to the output pins of timer Aj regardless of the direction registers’ contents. Figure 7.2.7 shows the relationship between the port P6 and port P2 direction registers and the timer Aj’s I/O pins. Note that each bit of the port P6 direction register becomes “0” by an input of a falling edge to pin P6OUTCUT. (Refer to section “5.2.3 Pin P6OUTCUT/INT4.”) When switching the output pins of timers A0 to A2 to the port output pins, the following procedure is required. ➀ Return the input level at pin P6OUTCUT to “H.” y Write data to the port P6 register’s bit corresponding to the port P6 pin, where data is to be output. ➂ Set “1” to the port P6 direction register’s bit corresponding to the above P6 register’s bit; therefore, this bit enters the output mode. When the input level at pin P6OUTCUT = “L,” no bit of the port P6 direction register can be set to “1.” Fig. 7.2.7 Relationship between port P6 and port P2 direction registers and timer Aj’s I/O pins 0 1 2 3 4 5 6 7 Port P2 direction register (Address 816) b7 b6 b5 b4 b3 b2 b1 b0 0 : Input mode 1 : Output mode When using this pin as timer Aj’s input pin, be sure to clear the corresponding bit to “0.” RW RW RW RW RW RW RW RW Corresponding pin Bit Functions At reset R/W Notes 1: This applies when the TB0IN pin select bit (bit 0 at address AE16) = 1. 2: This applies when the TB1IN pin select bit (bit 1 at address AE16) = 1. 3: This applies when the TB2IN pin select bit (bit 2 at address AE16) = 1. 4: This applies when the INT3/RTPTRG0 pin select bit (bit 3 at address AE16) = 1. 5: The pins in ( ) are I/O pins of other internal peripheral devices, which are multiplexed. Port P6 direction register (Address 1016) Pin TA0OUT (Pin W/RTP00) Pin TA0IN (Pin V/RTP01) Pin TA1OUT (Pin U/RTP02) Pin TA1IN (Pin W/RTP03) Pin TA2OUT (Pin V/RTP10) Pin TA2IN (Pin U/RTP11) Nothing is assigned. b7 b6 b5 b4 b3 b2 b1 b0 0 : Input mode 1 : Output mode When using this pin as timer Aj’s input pin, be sure to clear the corresponding bit to “0.” 0 0 0 0 0 0 Undefined Corresponding pin Bit Functions At reset R/W Notes 1: Each of bits 0 to 5 becomes “0” by an input of the falling edge to pin P6OUTCUT/INT4. (Refer to section “5.2.3 Pin P6OUTCUT/ INT4.”) 2: The pins in ( ) are I/O pins of other internal peripheral devices, which are multiplexed. |
|
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 |