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 роки тому
PaulStoffregen
4b7151d0e0
Fix compiler warning with Keyboard.set_modifier
8 роки тому
PaulStoffregen
31c9626281
Fix some USBHS register bit names
8 роки тому
duff2013
87274341bd
Set FlexBus Clock Divider to correct value for 16, 8, 4 MHz
8 роки тому
duff2013
484098c794
update LLWU reg.
8 роки тому
PaulStoffregen
9f1f15a53e
Add SDHC register bit defs
8 роки тому
PaulStoffregen
0e35a31068
Add ethernet register bit defs
8 роки тому
PaulStoffregen
fdf57f66c6
Add USBHS register bit defs
8 роки тому
Frank
c0921e7b0d
add additonal F_TIMER (FTM_MOD)
...were missing :)
8 роки тому
PaulStoffregen
d79723c252
Easier F_BUS overclocking
8 роки тому
PaulStoffregen
be42e0574e
Fix DMA on K66
8 роки тому
Frank Bösing
dfd60bee72
add missing F_BUS to SPIFIFO
8 роки тому
Frank Bösing
8752969dbb
Add missing F_BUS
8 роки тому
PaulStoffregen
e2e07e5394
Fix DMAMUX for K66
8 роки тому
PaulStoffregen
ddb7fb0267
Add I2C clock divider names
8 роки тому
PaulStoffregen
575f309209
Fix EEPROM on K66
8 роки тому
PaulStoffregen
759ba1b417
Fix touchRead on K66
8 роки тому
PaulStoffregen
7a2c0037b8
Use IRC48M clock for USB when F_CPU is 180 or 216 MHz
8 роки тому
PaulStoffregen
6856d4eedc
Fix analogRead on K66
8 роки тому
PaulStoffregen
7c963d5269
Use SIM_SCGC6 for RNG to match register defs
8 роки тому
PaulStoffregen
5eab8dd0b8
Fix pin numbers for transmit opendrain on Serial4 & Serial5
8 роки тому
Kurt Eckhardt
7458590a29
Allow SetTX on Serial3/4/5 ...
On Serial 3 this addition is for all 3.x. Before it was ifdefed to only
do work on Teensy_LC as there is only one valid TX pin. But we now pass
in open drain as an option so this code should allow you to not turn it
on/off on Serial3 on all of these boards
and on Serial4 and Serial5 on the new boards.
8 роки тому
Frank
27f9bd8f0f
Frix for crash @ 48 & 24MHz
8 роки тому
Kurt Eckhardt
c9bec4c380
Serial2 - !TX(31) !RX(26) on T3.5
Updated Serial2.
It had valid TX for T3.2 of 10 and 31, but 31 on T3.5 is RX4
Likewise RX for T3.2 of 9 and 26, but on T3.5 26 is RX1
8 роки тому
Kurt Eckhardt
491e1e21ca
Add support for pins 26 and 27
8 роки тому
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
8 роки тому
PaulStoffregen
6040145aac
More K66 overclocking options
8 роки тому
PaulStoffregen
663d7eaa7b
Fix Random Number Generator registers (thanks manitou)
fixes 136
8 роки тому
PaulStoffregen
06c8b9ceab
Fix sendRealTime (thanks capricorn-one)
fixes #138
8 роки тому
PaulStoffregen
7e25edcb86
Fix missing Print.h from Server.h
8 роки тому
PaulStoffregen
2f8709c6c9
Include WCharacter.h by default
8 роки тому
PaulStoffregen
04bc4d27a5
Remove unused testing code
8 роки тому
PaulStoffregen
005b35548f
Fix spelling error in comments
8 роки тому
PaulStoffregen
9b06bacb72
Fix millis corner case
https://forum.pjrc.com/threads/17469-millis%28%29-on-teensy-3?p=104924&viewfull=1#post104924
8 роки тому
PaulStoffregen
e7084a9906
Add other missing license headers
8 роки тому
PaulStoffregen
ce5692f9ff
Add license info for crc16.h
fixes #131
8 роки тому
PaulStoffregen
62ea3b9e5b
Allow SPI pin reassign while SPI is running
8 роки тому
PaulStoffregen
f5c6b36008
Support pins 24 & 25 in Serial1 setTX & setRX on Teensy LC
8 роки тому
Jorg Neves Bliesener
372698e9ef
Corrected typecast in usb_flightsim.cpp
Signed-off-by: Jorg Neves Bliesener <jbliesener@bliesener.com>
8 роки тому
Kurt Eckhardt
6d3a261664
Add Serial.clear() to Teensy 3.x
On Teensy 3.x - we have Serial1.clear, Serial2.clear...
But not Serial.clear.
Serial.clear() exists for Teensy2, so thought I would try to add it for
Teensy 3s...
8 роки тому
duff2013
524efc02b4
add compare and llwu register defs
8 роки тому
PaulStoffregen
e31e49bc20
Add more USB Type combinations
8 роки тому
PaulStoffregen
e429e0ca03
Remove debug code & clean up white space formatting
8 роки тому
PaulStoffregen
051474da89
Report number of fingers supported by USB Touchscreen
8 роки тому
PaulStoffregen
6ee4e0f303
Fix USB Touchscreen HID report descriptor
8 роки тому
PaulStoffregen
fce43f2d1a
USB Touchscreen basic functions (work in progress)
8 роки тому
PaulStoffregen
66c87d3276
Add multi-touch basic API (experimental)
8 роки тому
PaulStoffregen
96f5532ab1
Fix AudioInputUSB copy_to_buffers()
8 роки тому
Mathias Kende
9e6e8611e4
Allow the teensy3 library to be used with strict C++11 conformance.
8 роки тому
PaulStoffregen
b1a66f742c
Add Serial + MIDI + Audio option
8 роки тому