Kurt Eckhardt
eb97df1ffe
PulseIn on LC issue
PulseIn may fail on LC as it is using *reg to test the value for on or
off, but on LC register is a bitmask associated with several IO pins.
So split off for LC to use the MASK value for the pin to test high and
low.
Warning did not update timings for this, which may be necessary as adds
an & in the loop. However when I tried TLC for 5000us timeout, it timed
out with 5138us, if I decremented the PULSEIN_LOOPS_PER_USEC by one,
then it timed out at 4398... This was at 49mhz.
8 years ago
Frank
c0921e7b0d
add additonal F_TIMER (FTM_MOD)
...were missing :)
8 years ago
PaulStoffregen
6040145aac
More K66 overclocking options
8 years ago
Xenoamor
1d197b5b7f
Update pins_teensy.c
Add INPUT_PULLDOWN and OUTPUT_OPENDRAIN options for pinMode()
8 years ago
PaulStoffregen
c364608480
Even more defs
8 years ago
PaulStoffregen
e0dd146824
More defs
8 years ago
PaulStoffregen
59a7b221fa
Fix delay when yield longer than 1ms
8 years ago
PaulStoffregen
c006772eeb
Add startup delay - improves Windows & I2C sensor experience
9 years ago
Thierry Frenkel
0e397cc970
Allow low frequencies for analogWriteFrequency
In case the desired frequency is too low to be obtained with F_TIMER
because prescale and mod were at their limits, switch automatically to
the alternative clock source (31250Hz) before determining prescale and
mod with the same algorithm as before.
9 years ago
PaulStoffregen
aa212b61e0
Defs for MK66FX1M0
9 years ago
PaulStoffregen
1e49af2dd2
Add register definitions
9 years ago
PaulStoffregen
ca6b6fd9b0
opps, fix delayMicroseconds on Teensy-LC at 24 MHz for realz
9 years ago
PaulStoffregen
00d45085e6
fix delayMicroseconds on Teensy-LC at 24 MHz
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1?p=75775&viewfull=1#post75775
9 years ago
PaulStoffregen
61b29fa289
Optimize delayMicroseconds() on Teensy-LC
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1
9 years ago
PaulStoffregen
28a3eb04f0
analogWriteFrequency uses float for frequency
9 years ago
duff2013
06f4defa2d
(MKL26Z64) update for F_PLL <= 16MHz
9 years ago
PaulStoffregen
7a68c0f911
Add dummy RTC functions for Teensy-LC
9 years ago
PaulStoffregen
af89f7072e
Add support for Teensy-LC DAC
9 years ago
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
9 years ago
PaulStoffregen
c2ef8b638e
Fix analogWriteFrequency on pinx 25 & 32
10 years ago
PaulStoffregen
3b5dc896f7
Add attachInterruptVector()
10 years ago
PaulStoffregen
663e4fddec
Add support for 2, 4, 8, 16MHz (Duff)
10 years ago
PaulStoffregen
7bee55654c
Support more CPU and bus frequencies
10 years ago
Frank Bösing
6942a12ff4
Stripped to overclock add. 144MHz only for Paul
10 years ago
Frank Bösing
a0907930d6
Fix SPI
Attention, slower SPI
10 years ago
Frank Bösing
bbd726f690
Update to 168MHz, 42 MHZ Bus, 28MHz Flash
10 years ago
Frank Bösing
856a79b321
Modified for additional 120MHz Core-Clock
10 years ago
PaulStoffregen
25cc2c3de9
Restore brief delay before USB init
10 years ago
PaulStoffregen
729c211500
Support for Teensy 3.1
11 years ago
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 years ago