| Electronic Components Datasheet Search |
|
HD404372 Datasheet(PDF) 62 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD404372 Datasheet(HTML) 62 Page - Renesas Technology Corp |
|
62 / 161 page ![]() HD404374/HD404384/HD404389/HD404082/HD404084 Series Rev.5.00, Sep.11.2003, page 62 of 161 D Port The D port consists of 10 I/O pins that are addressed bit-by-bit. Ports D 0 to D3 are source large-current I/O pins, and ports D4 to D7 are sink large-current I/O pins. The D port can be set and reset by the SED and RED instructions or the SEDD and REDD instructions. Output data is stored in the port data register (PDR) for each pin. The entire D port can be tested by the TD or TDD instruction. The D port output buffer is turned on and off by the D port data control registers (DCD0 to DCD2: $030 to $032). The DCD registers are mapped onto memory addresses (figure 25). Port D 0 is multiplexed as interrupt input pin INT0. Setting as interrupt pin is performed by bit 0 (PMR00) of port mode register 0 (PMR0: $008) (figure 26). Data control registers (DCD0–2 : $030–$032) (DCR0–2, 7 : $034–$036, $03B) Register Name DCDn DCRm Bit Read/Write Reset Bit name Read/Write Reset Bit name 3 W 0 DCDn3 W 0 DCRm3 2 W 0 DCDn2 W 0 DCRm2 1 W 0 DCDn1 W 0 DCRm1 0 W 0 DCDn0 W 0 DCRm0 All bits 0 1 CMOS buffer off (high impedance) CMOS buffer active CMOS buffer control Register Name DCD0 DCD1 DCD2 DCR0 DCR1 DCR2 DCR7 Bit 3 D3 D7 R13 R73 Bit 2 D2 D6 R22 R72 Bit 1 D1 D5 D9 R21 R71 Bit 0 D0 D4 D8 R00 R10 R20 R70 Correspondence between each bit of DCD and DCR and ports (n=0 to 2) (m=0 to 2, 7) Figure 25 Data Control Registers (DCD, DCR) |
|
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 |