MikroElektronika PIC Microcontrollers PIC16 Specifiche Pagina 13

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 266
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 265 266

Commenti su questo manuale

Nessun commento