8 Conclusion

Using the DMA is a great way to transfer data between SFRs, GPRs and PFM in different configurations. It allows for speed and ease of use, as well as for freeing up the CPU to perform other tasks.

The DAC allows improved reproduction of sampled audio signals because of the higher 8-bit resolution. The buffered output of the DAC forms a great connection to different peripherals directly and without degrading the signal. This can be used along with the PWM and Comparator to form an excellent Class D power amplifier.

Timer2 HLT can be combined with CLC for an excellent code-free switch debouncing technique.