Kurt Eckhardt
2954ed6425
T3.x(LC) - yield and eventResponder speedups if not used
Code is setup that if there are no eventResponders that have registered to do interrupt calls, don't have the systic code in place to look for it.
Also yield code. Now figures out if the user has any code that installs their own serialEventX methods, to call them, but if they have left the default weak pointer versions, to not call them in yield. Likewise will only look for eventRespnder events if the sketch has actually attached any events. If none of these conditions are true, yield will just check one flag and return.
T3.x Serial events cleanup
vor 4 Jahren
PaulStoffregen
717916e64d
Fix SERIAL_8N2 mode on Teensy LC
vor 7 Jahren
PaulStoffregen
07906c1091
Teensy LC doesn't support 9 bits on Serial2 & Serial3
vor 7 Jahren
PaulStoffregen
70e7c62a7d
Add comment to HardwareSerial.h for editing SERIAL_9BIT_SUPPORT
vor 7 Jahren
PaulStoffregen
7099935c0e
Update open source license info
vor 7 Jahren
PaulStoffregen
768926244c
Use constexpr constructors for all Serial classes
vor 7 Jahren
PaulStoffregen
d30f8ccab8
Add using Print::write to hardware serial
vor 7 Jahren
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.
vor 8 Jahren
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)
vor 8 Jahren
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
vor 8 Jahren
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
vor 8 Jahren
PaulStoffregen
8dbe007acc
Fix incorrect baud rate on Serial2 when used with format option
vor 8 Jahren
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
vor 8 Jahren
PaulStoffregen
2c726eae11
RTS/CTS support for Serial1 on Teensy LC & 3.x (experimental)
vor 9 Jahren
PaulStoffregen
7a6898b59d
Add bool operator to HardwareSerial
vor 9 Jahren
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
vor 9 Jahren
duff2013
06f4defa2d
(MKL26Z64) update for F_PLL <= 16MHz
vor 10 Jahren
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
vor 10 Jahren
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
vor 10 Jahren
PaulStoffregen
3b9ae1513b
rename writeBufferFree() to availableForWrite()
vor 10 Jahren
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
vor 10 Jahren
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
vor 10 Jahren
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
vor 10 Jahren
PaulStoffregen
4c047eea2b
Add serialEvent (USB) and serialEvent1-3 (serial)
vor 10 Jahren
PaulStoffregen
d783be33c1
Clean up trailing whitespace
vor 10 Jahren
PaulStoffregen
98737f890f
HardwareSerial write functions need to be virtual
http://forum.pjrc.com/threads/25494-Problems-with-HardwareSerial-Pointer-and-write
vor 10 Jahren
PaulStoffregen
bff3488fd1
Add Serial1.transmitterEnable(pin) for RS-485
vor 11 Jahren
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
vor 11 Jahren
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
vor 11 Jahren