| Electronic Components Datasheet Search |
|
AT43USB325 Datasheet(PDF) 59 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT43USB325 Datasheet(HTML) 59 Page - ATMEL Corporation |
|
59 / 109 page ![]() 59 3355C–USB–4/05 AT43USB325 7.4 Port D Port D is a 7-bit bi-directional I/O port. Three I/O memory address locations are allocated for the Port D, one each for the Data Register - PORTD, $12($32), Data Direction Register - DDRD, $11($31) and the Port D Input Pins - PIND, $10($30). The Port D Input Pins address is read only, while the Data Register and the Data Direction Register are read/write. Some Port D pins have alternate functions as shown in the following table: When the pins are used for the alternate function the DDRD and PORTD register has to be set according to the alternate function description. 7.4.1 Port D Data Register – PORTD 7.4.2 Port D Data Direction Register – DDRD 7.4.3 Port D Input Pins Address – PIND The Port D Input Pins address (PIND) is not a register, and this address enables access to the physical value on each Port D pin. When reading PORTD, the Port D Data Latch is read, and when reading PIND, the logical values present on the pins are read. Table 7-2. Port D Pins Alternate Functions Port Pin Alternate Function PD1 T1 (Timer/Counter1 External Counter Input) PD3 INT1 (External Interrupt 1 Input) PD4 INTA (External Interrupt A Input) PD5 INTB (External Interrupt B Input) PD6 INTC (External Interrupt C Input) PD7 INTD (External Interrupt D Input) Bit 7 6 5 4 3 2 1 0 $12 ($32) PORTD7 PORTD6 PORTD5 PORTD4 PORTD3 – PORTD1 PORTD0 PORTD Read/Write R/W R/W R/W R/W R/W – R/W R/W Initial Value 0 0 0 0 0 0 0 0 Bit 7 6 5 4 3 2 1 0 $11 ($31) DDD7 DDD6 DDD5 DDD4 DDD3 – DDD1 DDD0 DDRD Read/Write R/W R/W R/W R/W R/W – R/W R/W Initial Value 0 0 0 0 0 0 0 0 Bit 7 6 5 4 3 2 1 0 $10 ($30) PIND7 PIND6 PIND5 PIND4 PIND3 – PIND1 PIND0 PIND Read/Write R R R R R – R R Initial Value N/A N/A N/A N/A N/A N/A N/A N/A |
|
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 |