| Electronic Components Datasheet Search |
|
AT43USB325 Datasheet(PDF) 61 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT43USB325 Datasheet(HTML) 61 Page - ATMEL Corporation |
|
61 / 109 page ![]() 61 3355C–USB–4/05 AT43USB325 7.5.3 Port E Input Pins Address – PINE The Port E Input Pins address, PINE, is not a register, and this address enables access to the physical value on each Port E pin. When reading PORTE the Port E Data Latch is read, and when reading PINE, the logical values present on the pins are read. 7.5.4 Port E as General Digital I/O PEn, General I/O Pin: The DDEn bit in the DDRE register selects the direction of this pin. If DDEn is set (one), PEn is con-figured as an output pin. If DDEn is cleared (zero), PEn is config- ured as an input pin. The value of PORTEn has no meaning in this mode. The Port E pins are tri- stated when a reset condition becomes active. Note: n: 7,6…0, pin number 7.6 Port F Port F[1:3] is a 3-bit bi-directional I/O that becomes available after the program memory is writ- ten at the end of POR. Three I/O memory address locations are allocated for the Port F, one each for the Data Register - PORTF, $06($26), Data Direction Register - DDRF, $05($25) and the Port F Input Pins - PIND, $04($24). The Port F Input Pins address is read only, while the Data Register and the Data Direction Register are read/write. Some Port F pins have alternate functions as shown in the following table: After power up, PF[1:3] are used to load the program memory. This process is automatic. After completion of program memory downloading, the SSN pin is de-asserted (=logic 1) and the pins functions as GPIOs. When the pins are used for the alternate function, after downloading is completed, the DDRF and PORTF register has to be set according to the alternate function description. Bit 7 6 5 4 3 2 1 0 $01 ($21) PINE7 PINE6 PINE5 PINE4 PINE3 PINE2 PINE1 PINE0 PINE Read/Write R/W R/W R/W R/W R/W R/W R R Initial Value N/A N/A N/A N/A N/A N/A N/A N/A Table 7-4. DDEn Bits on Port E Pins DDEn PORTEn I/O Comment 0 0 Input Tri-state (Hi-Z) 0 1 Input Tri-state (Hi-Z) 1 0 Output Push-pull Zero Output 1 1 Output Push-pull One Output Table 7-5. Port F Pins Alternate Functions Port Pin Alternate Function 1 Alternate Function 2 PF1 SCK (SPI Bus Serial Clock) OC1A (Timer/Counter1 Output CompareA Match Output) PF2 MOSI (SPI Bus Master Output/Slave Input) OC1B (Timer/Counter1 Output CompareB Match Output) PF3 MISO (SPI Bus Master Input/Slave Output) ICP (Timer/Counter1 Input Capture) |
|
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 |