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