circuitpython/atmel-samd/common-hal/nativeio
Scott Shawcroft e3f9ee839a Add frequency changing support to PWMOut.
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.
2017-01-30 15:02:01 -08:00
..
__init__.c This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
AnalogIn.c atmel-samd: Fully reset the ADC state on reset to prevent a crash. 2017-01-19 11:26:41 -08:00
AnalogIn.h atmel-samd: Fully reset the ADC state on reset to prevent a crash. 2017-01-19 11:26:41 -08:00
AnalogOut.c Fix up Analog classes: unify them at 16 bits and adds reference_voltage member 2016-12-13 16:09:00 -08:00
DigitalInOut.c More fixes to pin pull thanks to jerryn: 2017-01-16 15:32:23 -08:00
I2C.c Add frequency changing support to PWMOut. 2017-01-30 15:02:01 -08:00
PWMOut.c Add frequency changing support to PWMOut. 2017-01-30 15:02:01 -08:00
PWMOut.h Add frequency changing support to PWMOut. 2017-01-30 15:02:01 -08:00
SPI.c Add frequency changing support to PWMOut. 2017-01-30 15:02:01 -08:00
TouchIn.c atmel-samd: Improve TouchIn to allow for multiple simultaneous touch pads. 2016-12-20 16:39:32 -08:00
TouchInStub.c atmel-samd: Basic capacitive touch button support. 2016-12-12 15:11:25 -08:00
types.h Add frequency changing support to PWMOut. 2017-01-30 15:02:01 -08:00
UART.c Add frequency changing support to PWMOut. 2017-01-30 15:02:01 -08:00