e3f9ee839a
You can either set it once up front, or set variable_frequency on custruction to indicate that the frequency must be able to change. This informs whether a timer can be shared amongst pins. This also adds persistent clock calibration on atmel-samd. Once the device has synced its clock frequency over USB it will remember that config value until USB is used again. This helps ensure the clock frequency is similar on and off USB. Lastly, this also corrects time.sleep() when on USB by correcting the tick counter. |
||
---|---|---|
.. | ||
__init__.c | ||
__init__.h | ||
AnalogIn.c | ||
AnalogIn.h | ||
AnalogOut.c | ||
AnalogOut.h | ||
DigitalInOut.c | ||
DigitalInOut.h | ||
I2C.c | ||
I2C.h | ||
PWMOut.c | ||
PWMOut.h | ||
SPI.c | ||
SPI.h | ||
TouchIn.c | ||
TouchIn.h | ||
UART.c | ||
UART.h |