CEG 3136 Lecture Notes - Lecture 9: Interrupt, Comparator, Mediacorp

68 views14 pages

Document Summary

Can be used for reducing power consumption: 1 = allows the timer to function normally. For tflg2 (shf), any access to the tcnt register (, Any access to the pacn3 and pacn2 registers (, ) clears the paovf and paif flags in the paflg register (). And access to the pacn1 and pacn0 registers (, ) clears the. This has the adcantage of eliminating software overhead in a separate clear sequence. This mode of operation is similar to an up-counting modules counter: 0 = counter reset inhibited and counter free runs, 1 = counter reset by a successful output compare 7. If tc7 = sh and tcre = 1, tcnt will stay at sh continuously. Iosn (n ranges from 0 to 6) bit of tios register are set to be an output compare: a successful channel 7 output compare overrides any channel 6:0 compares.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers