Settings and definitions for the CPU frequency test.
Copyright (C) 2012 Atmel Corporation. All rights reserved.
Definition in file classb_freq.h.
Include dependency graph for classb_freq.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | F_CPU <value> |
| The system frequency. | |
| #define | CLASSB_TC_MOD 0 |
| TC module selection. | |
| #define | CLASSB_TC_PRESCALER 8 |
| TC prescaler. | |
| #define | CLASSB_TOLERANCE 25UL |
| Tolerance for the CPU frequency deviation. | |
Functions | |
| void | classb_freq_setup_timer () |
| This sets up the TC that is used in the frequency test. This configures the period, prescaler and overflow interrupt. | |
| void | classb_freq_callback () |
| This is called back from the RTC interrupt. | |