PaulStoffregen
d51854082b
Fix serail stall when too-fast baud rates attempted
7 years ago
PaulStoffregen
7099935c0e
Update open source license info
7 years ago
thewknd
05d0e72ebe
fix serial6_set_tx
7 years ago
thewknd
f43caad2f7
check SIM_SCGC1_UART5 in serial6_set_tx
7 years ago
Frank Bösing
cecfe51276
Set RTS Watermarks dependend of rx-buffersize
8 years ago
Frank Bösing
6dd6073c2c
serialX buffersizes
Additional PR for SERIALX_DISABLE follows
8 years ago
Kurt Eckhardt
426a53c281
Fix Serial6 for Teensy 3.5
Needed to add new Define for clock gate
Plus defines to use the new clock gate, plus correct case name for the
serial6 isr to match what is in system isr table
8 years ago
Kurt Eckhardt
899cbecc02
Enable Uart 2 stop bit capabilities
The T-LC and the new beta boards T3.6 and soon T3.5 hardware uarts have
ability to turn on 2 stop bits. So enabled on these boards.
8 years ago
Kurt Eckhardt
7352ea7791
Add Serial6 - T3.4 Uart5, T3.5 LPUart0
This is a WIP, But I have now been able to create Serial6 on T3.4 beta,
and so far have tested Send/Receive basic stuff at 115200 and have tried
at several CPU speeds in MHZ (192, 216, 180, 120, 96)
8 years ago
PaulStoffregen
5eab8dd0b8
Fix pin numbers for transmit opendrain on Serial4 & Serial5
8 years ago
Kurt Eckhardt
7458590a29
Allow SetTX on Serial3/4/5 ...
On Serial 3 this addition is for all 3.x. Before it was ifdefed to only
do work on Teensy_LC as there is only one valid TX pin. But we now pass
in open drain as an option so this code should allow you to not turn it
on/off on Serial3 on all of these boards
and on Serial4 and Serial5 on the new boards.
8 years ago
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
8 years ago
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
8 years ago
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
8 years ago
PaulStoffregen
0254d93d95
Teensy-LC doesn't support CTS, so disable its code
9 years ago
PaulStoffregen
6e0dd8ab39
Use software-based RTS on Serial2 and Serial3
9 years ago
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
9 years ago
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
9 years ago
PaulStoffregen
6ed0c5f01f
Fix Hardware Serial transmitterEnable() on Teensy-LC
9 years ago
PaulStoffregen
5c9ccd8412
Fix 9 bit transmit mode on Serial3
9 years ago
PaulStoffregen
e2bf6d44e0
Avoid kinetis.h name conflicts with simple Arduino names
9 years ago
PaulStoffregen
182037caea
Fix 9 bit hardware serial receive
https://forum.pjrc.com/threads/27093-Fix-for-9-bit-serial-receive-bug
9 years ago
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
9 years ago
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
10 years ago
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 years ago
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
10 years ago
PaulStoffregen
603afcc984
Fix off-by-1 error in new Serial#.room()
10 years ago
PaulStoffregen
d289954223
Add Serial1-3.room()
http://forum.pjrc.com/threads/26064-Large-transfers-over-serial-on-Teensy-3-1
http://forum.arduino.cc/index.php/topic,165574.0.html
10 years ago
PaulStoffregen
f2cecda077
Use IRQ_PRIORITY (not hard-coded number) in Serial3
10 years ago
PaulStoffregen
7ba1cbccc6
Add NVIC priority handling in Serial2 & Serial3
11 years ago
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
11 years ago
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 years ago