MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 266
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 3: I/O Ports
Fig. 3-6 WPUB register
Having a high level of resistance (several tens of kilo ohms), these “virtual” resistors do not affect pins configured as
outputs, but serves as a useful complement to inputs. As such, they are connected to CMOS logic circuit inputs.
Otherwise, they would act as if they are floating because of their high input resistance.
Fig. 3-7 Pull-up resistors
* Apart from the bits of the WPUB register, there is another bit affecting pull-up resistors installation. It is RBPU bit of
the OPTION_REG. It is a general-purpose bit because it affects installation of all Port resistors.
If enabled, each Port B bit configured as an input may cause an interrupt by changeing its logic state. In order to
enable pins to cause an interrupt, the appropriate bit of the IOCB register should be set.
http://www.mikroe.com/en/books/picmcubook/ch3/ (5 of 10)5/3/2009 11:32:31 AM
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 265 266

Komentáře k této Příručce

Žádné komentáře