MikroElektronika PIC Microcontrollers PIC16 Dokumentacja Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 266
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 12
mikroElektronika | Free Online Book | PIC Microcontrollers | Introduction: World of Microcontrollers
Fig. 0-18 Special Function Register
Input/Output Ports
In order to make the microcontroller useful, it has to be connected to additional electronics, i.e. peripherals. Each microcontroller has one or
more registers (called a “port”) connected to the microcontroller pins. Why input/output? Because you can change the pin’s function as you
wish. For example, suppose you want your device to turn three signal LEDs and simultaneously monitor the logic state of five sensors or push
buttons. Some of ports need to be configured so that there are three outputs (connected to the LEDs) and five inputs (connected to sensors). It is
simply performed by software, which means that the pin’s function can be changed during operation.
http://www.mikroe.com/en/books/picmcubook/ch0/ (13 of 30)5/3/2009 11:28:39 AM
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 265 266

Komentarze do niniejszej Instrukcji

Brak uwag