1 / 16

Mikrokontroler AVR

Mikrokontroler AVR. Mikrokontroler AVR. Arsitektur AVR. Peta Memori AVR. Register File. Fetch & Execute pada AVR. Set Instruksi AVR. Pengelompokan Instruksi Arithmetic & Logic Unit Conditional Branch Branch Data Transfer Bit & Bit Test MCU Control.

alena
Download Presentation

Mikrokontroler AVR

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mikrokontroler AVR

  2. Mikrokontroler AVR

  3. Arsitektur AVR

  4. PetaMemori AVR

  5. Register File

  6. Fetch & Execute pada AVR

  7. Set Instruksi AVR PengelompokanInstruksi • Arithmetic & Logic Unit • Conditional Branch • Branch • Data Transfer • Bit & Bit Test • MCU Control

  8. Contoh Software Assembler AVR ;My Very First AVR Project .include "8535def.inc" ;Includes the 8515 definitions file .def Temp = R16 ;Gives "Defines" Register R16 the name Temp .org 0x0000 ;Places the following code from address 0x0000 rjmpRESET ;Take a Relative Jump to the RESET Label RESET: ;Reset Label ldiTemp, 0xFF ;Store 255 in R16 (Since we have defined R16 = ; Temp) out DDRB, Temp ;Store this value in The PORTB Data direction ;Register Loop: ;Loop Label out PORTB, Temp ;Write all highs (255 decimal) to PORTB dec Temp ;Decrement R16 (Temp) rjmp Loop ;Take a relative jump to the Loop label

  9. Flowchart Software Desktop & Mikrokontroler Desktop Mikrokontroler

  10. Reset & AlamatVektor ATMega8535

  11. Port I/O pada AVR

  12. Register I/O

  13. MemoriEksternalATMega8515 & ATMega162

  14. Reset pada 8535

  15. Timing Diagram Reset Eksternal

  16. Timing Diagram Reset karena Brown Out Detector

More Related