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