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 年之前