1 / 46

Chapter 5

Chapter 5. Atmel ARM Timer Programming. A 3-bit Counter. An 8-bit up-counter stages. An 8-bit down-counter stages. Counting Events Using a Counter. Using Counter as a Timer. Capturing. System Tick Timer Internal Structure. STCTRL (System Tick Control). System Tick Counting.

perrye
Download Presentation

Chapter 5

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. Chapter 5 Atmel ARM Timer Programming

  2. A 3-bit Counter

  3. An 8-bit up-counter stages

  4. An 8-bit down-counter stages

  5. Counting Events Using a Counter

  6. Using Counter as a Timer

  7. Capturing

  8. System Tick Timer Internal Structure

  9. STCTRL (System Tick Control)

  10. System Tick Counting

  11. STRVR vs. STCVR

  12. Bits 15-8 of APBCMASK Register is used to enable timer clock

  13. Atmel SAMD2x Timer/Counter Prescale Options

  14. ID numbers of Timer Counter Clocks

  15. Some of the Atmel SAMD2x Timer/Counter Registers

  16. CTRLA (Control A) Register

  17. CTRLA register

  18. n-bit options

  19. Prescaler Options

  20. Wave Generation Options

  21. CTRLBCLR Register

  22. CTRLBSET Register

  23. INTFLAG Register

  24. INTFLAG Register Bits

  25. Timer Options for Prescaler

  26. TC counter counting in 32-bit Mode

  27. Counter operations with direction and counter value changes on the fly

  28. COUNT and Compare registers with Waveform Output

  29. Match Frequency Operation with Waveform Output 0 (WO[0])

  30. Port pin assignement of Timer/Counters

  31. PMUX Register is used to select multiplexing pin functions

  32. PMUX register options

  33. Atmel SAM D21 Alternative Pin Functions

  34. Atmel SAM D21 Alternative Pin Functions

  35. block diagram of External Interreupt Controller

  36. EIC Configuration Register (only the lower 8 bits are shown)

  37. Choices of SENSE bits in Configuration register of EIC

  38. Channel Register bit assignments

  39. Edge selection bits of Channel register

  40. Partial Listing of Path selection for Event Generator of Channel register

  41. User Multiplexer register bit assignments

  42. Event user identification numbers for Timer/Counter

  43. Control C register

  44. Event Control (EVCTRL) Register

  45. Measuring Period and Pulse Width

  46. Event Control (EVCTRL) Register (Event Action Options)

More Related