Title:
AVR_ATMEGA8_Analog_Comparator Download
- Category:
- SCM
- Tags:
-
[ASM]
[源码]
- File Size:
- 2kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- lxcllc603
Description: AVR microcontroller ATMEG8, ATMEG16A Use the Analog Comparator way through the cycle of inquiry, or interrupt output compare function of the results of this detailed information in English, do not look impossible • Detect a positive edge on the comparator output by polling the ACO-bit in the Analog Comparator Control and Status Register- ACSR. • Detect a positive edge on the comparator output by polling the Analog Comparator Interrupt Flag- ACI in ACSR. • Initialize interrupt on comparator output toggle. An interrupt routine which increments a 16-bit counter each time it is executed is given as an example.
To Search:
File list (Check if you may need any files):
avr128.asm