Electronic Components Datasheet Search |
|
AT89C5115 Datasheet(PDF) 7 Page - ATMEL Corporation |
|
AT89C5115 Datasheet(HTML) 7 Page - ATMEL Corporation |
7 / 113 page 7 AT89C5115 4128G–8051–02/08 I/O Configurations Each Port SFR operates via type-D latches, as illustrated in Figure 1 for Ports 3 and 4. A CPU ’write to latch’ signal initiates transfer of internal bus data into the type-D latch. A CPU ’read latch’ signal transfers the latched Q output onto the internal bus. Similarly, a ’read pin’ signal transfers the logical level of the Port pin. Some Port data instructions activate the ’read latch’ signal while others activate the ’read pin’ signal. Latch instruc- tions are referred to as Read-Modify-Write instructions. Each I/O line may be independently programmed as input or output. Port Structure Figure 1 shows the structure of Ports, which have internal pull-ups. An external source can pull the pin low. Each Port pin can be configured either for general-purpose I/O or for its alternate input output function. To use a pin for general-purpose output, set or clear the corresponding bit in the Px reg- ister (x = 1 to 4). To use a pin for general-purpose input, set the bit in the Px register. This turns off the output FET drive. To configure a pin for its alternate function, set the bit in the Px register. When the latch is set, the ’alternate output function’ signal controls the output level (See Figure 1). The operation of Ports is discussed further in ’Quasi-Bi-directional Port Operation’ paragraph. Figure 1. Ports Structure Note: 1. The internal pull-up can be disabled on P1 when analog function is selected. D CL Q LATCH INTERNAL WRITE TO LATCH READ PIN READ LATCH ALTERNATE OUTPUT FUNCTION VCC INTERNAL PULL-UP (1) ALTERNATE INPUT FUNCTION BUS P2.x P3.x P4.x P1.x (1) |
Similar Part No. - AT89C5115_14 |
|
Similar Description - AT89C5115_14 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |