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.
vor 8 Jahren
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.
vor 8 Jahren
PaulStoffregen
e31e49bc20
Add more USB Type combinations
vor 8 Jahren
PaulStoffregen
e429e0ca03
Remove debug code & clean up white space formatting
vor 8 Jahren
PaulStoffregen
051474da89
Report number of fingers supported by USB Touchscreen
vor 8 Jahren
PaulStoffregen
6ee4e0f303
Fix USB Touchscreen HID report descriptor
vor 8 Jahren
PaulStoffregen
fce43f2d1a
USB Touchscreen basic functions (work in progress)
vor 8 Jahren
PaulStoffregen
66c87d3276
Add multi-touch basic API (experimental)
vor 8 Jahren
PaulStoffregen
96f5532ab1
Fix AudioInputUSB copy_to_buffers()
vor 8 Jahren
Paul Stoffregen
a0cba29fed
Merge pull request #125 from mkende/master
Allow the teensy3 library to be used with strict C++11 conformance.
vor 8 Jahren
Mathias Kende
c35b57249e
Merge branch 'master' of github.com:PaulStoffregen/cores
vor 8 Jahren
Mathias Kende
9e6e8611e4
Allow the teensy3 library to be used with strict C++11 conformance.
vor 8 Jahren
PaulStoffregen
b1a66f742c
Add Serial + MIDI + Audio option
vor 8 Jahren
PaulStoffregen
a480cd28da
Add Serial + MIDI option
vor 8 Jahren
PaulStoffregen
f4c1e6a141
Add USB keyboard only option
vor 8 Jahren
PaulStoffregen
66e3239ef5
Add multi-touch definitions (experimental)
vor 8 Jahren
Paul Stoffregen
f38b804b52
Merge pull request #124 from ftrias/master
Add volume/mute feature to AudioInputUSB
vor 8 Jahren
PaulStoffregen
42cbdc49c0
Add multi-touch descriptors (experimental)
vor 8 Jahren
Fernando Trias
d0fe13962f
Left/right volume, fix wTotalLength
Add support for controlling left/right volume separately. Fix
wTotalLength after adding volume feature.
vor 8 Jahren
Fernando Trias
b220c40854
Remove channel 0 check
This enables left/right balance to be implemented and is more
consistent with other devices
vor 8 Jahren
Fernando Trias
cf22e93f60
Revert "makeWord is inconsistently defined"
This reverts commit c083b394e4
.
vor 8 Jahren
Fernando Trias
c083b394e4
makeWord is inconsistently defined
Revise definition to be consistent with other usage of byte
vor 8 Jahren
Fernando Trias
3a9025dd06
Add volume/mute feature to AudioInputUSB
Change descriptor and code to handle features for USB Audio
vor 8 Jahren
Paul Stoffregen
0d394a6e76
Merge pull request #123 from FrankBoesing/patch-1
copy_to_buffers optimize..
vor 8 Jahren
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
vor 8 Jahren
PaulStoffregen
102de8e359
Mouse extra buttons & horizontal scroll on Teensy 2.0
vor 8 Jahren
Frank
8e1dde32f0
hm.
vor 8 Jahren
PaulStoffregen
8b85a32552
Add Mouse horizontal scroll (thanks Xenoamor)
https://forum.pjrc.com/threads/33017-Teensy-3-1-Mouse-horizontal-scroll
vor 8 Jahren
Frank
cc159e2c68
copy_to_buffers optimize..
assembler does not help much, i think.. ?
+ perhaps make len const
vor 8 Jahren
PaulStoffregen
12c5d4972d
Port new (windows compatible) media keys to Teensy 2.0
vor 8 Jahren
PaulStoffregen
b39d5c803b
Add media keys to Serial+Keyboard+Mouse+Joystick USB Type
vor 8 Jahren
PaulStoffregen
5e79b6f461
Opps, don't double free memory after usb audio transmit disable
vor 8 Jahren
PaulStoffregen
98fdbc89ae
Improve usb audio transmit startup, fixes Mac issues
vor 8 Jahren
PaulStoffregen
7176a50afc
Fix usb audio descriptors, fixes audio output for Windows
vor 8 Jahren
PaulStoffregen
84fa81ab61
Fix usb audio interface descriptor order
vor 8 Jahren
PaulStoffregen
d73b29c16e
Fix usb audio wChannelConfig
vor 8 Jahren
PaulStoffregen
7fc6f36003
Actually transmit usb audio to PC
vor 8 Jahren
PaulStoffregen
6af8589c49
Use usb audio alternate setting info
vor 8 Jahren
PaulStoffregen
2b903c0124
Add AudioOutputUSB - work in progress...
vor 8 Jahren
PaulStoffregen
4199a5dee7
Implement usb audio asychronous feedback loop
vor 8 Jahren
PaulStoffregen
7b6227bd3d
Remove underflow_flag
vor 8 Jahren
PaulStoffregen
50e173b3fc
Handle usb audio buffer overrun more gracefully
vor 8 Jahren
PaulStoffregen
f86ae59f14
Recover quickly from usb audio buffer underflow
vor 8 Jahren
PaulStoffregen
fddf08842b
Add usb audio asychronous feedback endpoint (fixed data for now)
vor 8 Jahren
PaulStoffregen
adca415331
Add AudioInputUSB - receive USB audio into audio library
vor 8 Jahren
PaulStoffregen
425fe1288f
usb audio isochronous input/output
vor 8 Jahren
PaulStoffregen
d277cbb65a
isochronous does not use data toggle
vor 8 Jahren
PaulStoffregen
ae03ec67b9
USB audio control messages (adapted from MickMad)
vor 8 Jahren
PaulStoffregen
47658da91f
Add USB audio descriptors (adapted from MickMad)
vor 8 Jahren
PaulStoffregen
dc2cc5fbe4
Fix system key send
vor 8 Jahren