Introduction .31 Initial Code..42 ADC Clocks.52.1 PDCON Register 62.2 ACLK Register72.3 Decimation Register 83 ADC Setup ..93.1 ADMUX Register 93.2 ADCON0 Register.103.3 ADCON1 Register.113.4 Calibration 124 Example Program..134.1 Output Results.14References.15Appendix A. Header and C–Callable Code Examples ..16A.1 Header Files ..16A.2 Using Assembly Functions in C16Appendix B. Complete Program19Appendix C. Legal.C Disclaimer20Figure 1. ADC Registers ..3Figure 2. ADC Control and Clocks5Figure 3. MSC1211 PDCON Register .6Figure 4. ACLK Register ..7Figure 5. Analog Input Structure ..7Figure 6. Decimation Registers..8Figure 7. ADMUX Register..9Figure 8. ADCON0 Register.10Figure 9. ADCON1 Register.11Figure 10. Auto Mode..11Figure 11. Calibration Mode Control Bits12
猜您喜欢
评论