Paul Stoffregen
9ba39784bd
Merge pull request #129 from KurtE/T2-Serial1-Write-bypass
Teensy 2 - Serial1.write() - maybe bypass queue
8 jaren geleden
Kurt Eckhardt
9aa92c1c38
Avoid possible race condition
Remove possible race condition in setting and clearing transmitting.
Not from direct handling of this interrupt, but maybe another interrupt
happens right after we set UDR1, which by the time it finishes, the
transmit complete interrupt happens which clears it and returns and we
set transmitting.
8 jaren geleden
Paul Stoffregen
1946bfcfb8
Merge pull request #127 from duff2013/master
add compare and llwu register defs
8 jaren geleden
Paul Stoffregen
481e29955f
Merge pull request #128 from KurtE/Teensy3-Add-Serial-clear
Add Serial.clear() to Teensy 3.x
8 jaren geleden
Kurt Eckhardt
a4a65a44ed
Teensy 2 - Serial1.write() - maybe bypass queue
Add same speedup from Arduino core, that on Serial1.write, check to see
if output queue is empty and data register empty, if so simply stuff the
character out in the output queue, without needing to use interrupt to
start transmission. Helps speed up fast IO like 1MBS
Also, changed how UCSR1B is updated, to be like Arduino. In particular
it turns on and off specific bit(s) instead of complete set of register.
Needed if you wish to emulate half duplex with this uart.
8 jaren geleden
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 jaren geleden
duff2013
524efc02b4
add compare and llwu register defs
8 jaren geleden
PaulStoffregen
e31e49bc20
Add more USB Type combinations
8 jaren geleden
PaulStoffregen
e429e0ca03
Remove debug code & clean up white space formatting
8 jaren geleden
PaulStoffregen
051474da89
Report number of fingers supported by USB Touchscreen
8 jaren geleden
PaulStoffregen
6ee4e0f303
Fix USB Touchscreen HID report descriptor
8 jaren geleden
PaulStoffregen
fce43f2d1a
USB Touchscreen basic functions (work in progress)
8 jaren geleden
PaulStoffregen
66c87d3276
Add multi-touch basic API (experimental)
8 jaren geleden
PaulStoffregen
96f5532ab1
Fix AudioInputUSB copy_to_buffers()
8 jaren geleden
Paul Stoffregen
a0cba29fed
Merge pull request #125 from mkende/master
Allow the teensy3 library to be used with strict C++11 conformance.
8 jaren geleden
Mathias Kende
c35b57249e
Merge branch 'master' of github.com:PaulStoffregen/cores
8 jaren geleden
Mathias Kende
9e6e8611e4
Allow the teensy3 library to be used with strict C++11 conformance.
8 jaren geleden
PaulStoffregen
b1a66f742c
Add Serial + MIDI + Audio option
8 jaren geleden
PaulStoffregen
a480cd28da
Add Serial + MIDI option
8 jaren geleden
PaulStoffregen
f4c1e6a141
Add USB keyboard only option
8 jaren geleden
PaulStoffregen
66e3239ef5
Add multi-touch definitions (experimental)
8 jaren geleden
Paul Stoffregen
f38b804b52
Merge pull request #124 from ftrias/master
Add volume/mute feature to AudioInputUSB
8 jaren geleden
PaulStoffregen
42cbdc49c0
Add multi-touch descriptors (experimental)
8 jaren geleden
Fernando Trias
d0fe13962f
Left/right volume, fix wTotalLength
Add support for controlling left/right volume separately. Fix
wTotalLength after adding volume feature.
8 jaren geleden
Fernando Trias
b220c40854
Remove channel 0 check
This enables left/right balance to be implemented and is more
consistent with other devices
8 jaren geleden
Fernando Trias
cf22e93f60
Revert "makeWord is inconsistently defined"
This reverts commit c083b394e4
.
8 jaren geleden
Fernando Trias
c083b394e4
makeWord is inconsistently defined
Revise definition to be consistent with other usage of byte
8 jaren geleden
Fernando Trias
3a9025dd06
Add volume/mute feature to AudioInputUSB
Change descriptor and code to handle features for USB Audio
8 jaren geleden
Paul Stoffregen
0d394a6e76
Merge pull request #123 from FrankBoesing/patch-1
copy_to_buffers optimize..
8 jaren geleden
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
8 jaren geleden
PaulStoffregen
102de8e359
Mouse extra buttons & horizontal scroll on Teensy 2.0
8 jaren geleden
Frank
8e1dde32f0
hm.
8 jaren geleden
PaulStoffregen
8b85a32552
Add Mouse horizontal scroll (thanks Xenoamor)
https://forum.pjrc.com/threads/33017-Teensy-3-1-Mouse-horizontal-scroll
8 jaren geleden
Frank
cc159e2c68
copy_to_buffers optimize..
assembler does not help much, i think.. ?
+ perhaps make len const
8 jaren geleden
PaulStoffregen
12c5d4972d
Port new (windows compatible) media keys to Teensy 2.0
8 jaren geleden
PaulStoffregen
b39d5c803b
Add media keys to Serial+Keyboard+Mouse+Joystick USB Type
8 jaren geleden
PaulStoffregen
5e79b6f461
Opps, don't double free memory after usb audio transmit disable
8 jaren geleden
PaulStoffregen
98fdbc89ae
Improve usb audio transmit startup, fixes Mac issues
8 jaren geleden
PaulStoffregen
7176a50afc
Fix usb audio descriptors, fixes audio output for Windows
8 jaren geleden
PaulStoffregen
84fa81ab61
Fix usb audio interface descriptor order
8 jaren geleden
PaulStoffregen
d73b29c16e
Fix usb audio wChannelConfig
8 jaren geleden
PaulStoffregen
7fc6f36003
Actually transmit usb audio to PC
8 jaren geleden
PaulStoffregen
6af8589c49
Use usb audio alternate setting info
8 jaren geleden
PaulStoffregen
2b903c0124
Add AudioOutputUSB - work in progress...
8 jaren geleden
PaulStoffregen
4199a5dee7
Implement usb audio asychronous feedback loop
8 jaren geleden
PaulStoffregen
7b6227bd3d
Remove underflow_flag
8 jaren geleden
PaulStoffregen
50e173b3fc
Handle usb audio buffer overrun more gracefully
8 jaren geleden
PaulStoffregen
f86ae59f14
Recover quickly from usb audio buffer underflow
8 jaren geleden
PaulStoffregen
fddf08842b
Add usb audio asychronous feedback endpoint (fixed data for now)
8 jaren geleden
PaulStoffregen
adca415331
Add AudioInputUSB - receive USB audio into audio library
8 jaren geleden