PaulStoffregen
77e813b2a6
analogWriteResolution() returns prior setting
7 роки тому
PaulStoffregen
83b837a520
Don't try slow clock for PWM on Teensy LC (not supported by hardware)
7 роки тому
PaulStoffregen
da92eda747
Start USB sooner during delay before running user code
7 роки тому
PaulStoffregen
c117b46778
Never inline _init_Teensyduino_internal_
7 роки тому
PaulStoffregen
e76a593adc
Allow attachInterrupt without pinMode (for AVR compatibility)
8 роки тому
PaulStoffregen
56f36603ad
Add pinMode INPUT_DISABLE
8 роки тому
Tilo Nitzsche
66e384c22a
"Fast pin interrupt dispatching based on CLZ."
8 роки тому
Tilo Nitzsche
c5083ed7cd
Fix issue #181 . Improved pin interrupt dispatch performance.
8 роки тому
PaulStoffregen
f496103194
Always define the SD card pins - do it like we mean it!
8 роки тому
PaulStoffregen
b03b27ece5
Support PWM on pins 16 & 17 on Teensy 3.6
8 роки тому
Kurt Eckhardt
db1e687b18
T3.5/T3.6 Beta: Optional Allow SDCard pins
With the new beta boards, for those users who don't need an SDCard for
their project, it would be great to allow them to use the 6 IO pins
associated with the SDCARD for other purposes. This would probably
require a cheap adapter, but these are nice signals to be able to be
used. They include:
SPI1: SCK, MISO, MOSI, CS0-2
Serail2: TX/RX
Serial4: TX/RX
I2C1: SCL/SDA
This change adds support for GPIO, SPI, Serial2 and Serial4
8 роки тому
PaulStoffregen
88dce04d81
Add extra K66 pin defines
8 роки тому
PaulStoffregen
bb95e546fe
Increase startup delay slightly
8 роки тому
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 роки тому
Frank
c0921e7b0d
add additonal F_TIMER (FTM_MOD)
...were missing :)
8 роки тому
PaulStoffregen
6040145aac
More K66 overclocking options
8 роки тому
Xenoamor
1d197b5b7f
Update pins_teensy.c
Add INPUT_PULLDOWN and OUTPUT_OPENDRAIN options for pinMode()
8 роки тому
PaulStoffregen
c364608480
Even more defs
8 роки тому
PaulStoffregen
e0dd146824
More defs
8 роки тому
PaulStoffregen
59a7b221fa
Fix delay when yield longer than 1ms
8 роки тому
PaulStoffregen
c006772eeb
Add startup delay - improves Windows & I2C sensor experience
9 роки тому
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 роки тому
PaulStoffregen
aa212b61e0
Defs for MK66FX1M0
9 роки тому
PaulStoffregen
1e49af2dd2
Add register definitions
9 роки тому
PaulStoffregen
ca6b6fd9b0
opps, fix delayMicroseconds on Teensy-LC at 24 MHz for realz
9 роки тому
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 роки тому
PaulStoffregen
61b29fa289
Optimize delayMicroseconds() on Teensy-LC
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1
9 роки тому
PaulStoffregen
28a3eb04f0
analogWriteFrequency uses float for frequency
9 роки тому
duff2013
06f4defa2d
(MKL26Z64) update for F_PLL <= 16MHz
9 роки тому
PaulStoffregen
7a68c0f911
Add dummy RTC functions for Teensy-LC
9 роки тому
PaulStoffregen
af89f7072e
Add support for Teensy-LC DAC
9 роки тому
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
9 роки тому
PaulStoffregen
c2ef8b638e
Fix analogWriteFrequency on pinx 25 & 32
10 роки тому
PaulStoffregen
3b5dc896f7
Add attachInterruptVector()
10 роки тому
PaulStoffregen
663e4fddec
Add support for 2, 4, 8, 16MHz (Duff)
10 роки тому
PaulStoffregen
7bee55654c
Support more CPU and bus frequencies
10 роки тому
Frank Bösing
6942a12ff4
Stripped to overclock add. 144MHz only for Paul
10 роки тому
Frank Bösing
a0907930d6
Fix SPI
Attention, slower SPI
10 роки тому
Frank Bösing
bbd726f690
Update to 168MHz, 42 MHZ Bus, 28MHz Flash
10 роки тому
Frank Bösing
856a79b321
Modified for additional 120MHz Core-Clock
10 роки тому
PaulStoffregen
25cc2c3de9
Restore brief delay before USB init
10 роки тому
PaulStoffregen
729c211500
Support for Teensy 3.1
11 роки тому
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 роки тому