| Electronic Components Datasheet Search |
|
PIC16F7X7 Datasheet(PDF) 69 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F7X7 Datasheet(HTML) 69 Page - Microchip Technology |
|
69 / 276 page ![]() 2004 Microchip Technology Inc. DS30498C-page 67 PIC16F7X7 5.4 PORTD and TRISD Registers This section is not applicable to the PIC16F737 or PIC16F767. PORTD is an 8-bit port with Schmitt Trigger input buffers. Each pin is individually configureable as an input or output. PORTD can be configured as an 8-bit wide micro- processor port (Parallel Slave Port) by setting control bit, PSPMODE (TRISE<4>). In this mode, the input buffers are TTL. FIGURE 5-18: PORTD BLOCK DIAGRAM (IN I/O PORT MODE) TABLE 5-7: PORTD FUNCTIONS TABLE 5-8: SUMMARY OF REGISTERS ASSOCIATED WITH PORTD Data Bus WR Port WR TRIS RD Port Data Latch TRIS Latch RD TRIS Schmitt Trigger Input Buffer I/O pin(1) Note 1: I/O pins have protection diodes to VDD and VSS. Q D CK Q D CK EN QD EN Name Bit# Buffer Type Function RD0/PSP0 bit 0 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 0. RD1/PSP1 bit 1 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 1. RD2/PSP2 bit 2 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 2. RD3/PSP3 bit 3 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 3. RD4/PSP4 bit 4 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 4. RD5/PSP5 bit 5 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 5. RD6/PSP6 bit 6 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 6. RD7/PSP7 bit 7 ST/TTL(1) Input/output port pin or Parallel Slave Port bit 7. Legend: ST = Schmitt Trigger input, TTL = TTL input Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffers when in Parallel Slave Port mode. Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Value on: POR, BOR Value on all other Resets 08h PORTD RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 xxxx xxxx uuuu uuuu 88h TRISD PORTD Data Direction Register 1111 1111 1111 1111 89h TRISE IBF OBF IBOV PSPMODE —(1) PORTE Data Direction bits 0000 1111 0000 1111 Legend: x = unknown, u = unchanged, — = unimplemented, read as ‘0’. Shaded cells are not used by PORTD. Note 1: RE3 is an input only. The state of the TRISE3 bit has no effect and will always read ‘1’. |
|
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 |