Kurt Eckhardt
bf38c3489d
T4 SerialX More support including formats
More support put in.
Now support for different formats of output.
So far I have tried 8N1, 8N2, 7E1, 7O1...
5 роки тому
Kurt Eckhardt
3f700149ea
T4-SerialX fleshing out code
Fleshing out some of the missing pieces. - Need to test
copy NVIC execution priority from T3
Set priority per Serial object
RTS pin
CTS pin - only Serial3 supports
setRX, setTX - do nothing none of these have two pins defined.
Maybe temporary - but added from previous code ability to add second buffer for RX and TX
5 роки тому
Kurt Eckhardt
2209a9f01b
T4 - SerialX Support for Transmitter Enable
Used macros from OneWIre to fast set/clear the optional Transmitter Enable support.
Also fixed bug in ISR where was not properly looking for TC. This will help make SerialX->flush() to work
5 роки тому
Kurt Eckhardt
361d842551
T4 - Hardware Serial - Pass 1
This pass has some more support for using the Hardware Serial objects.
Including setting an ISR for doing both reads and writes, sets up the FIFO,
Sitll lots more work to go.
Things like: fifo - need to better understand/set watermarks, also RX need to read in more than one byte if more available.
Also support fo r other features, like formats, 9 bit, ...
BUt at least you can do simple reads/writes
5 роки тому
PaulStoffregen
37c8161601
Transmit only polling HardwareSerial on imxrt
6 роки тому
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
6 роки тому
PaulStoffregen
717916e64d
Fix SERIAL_8N2 mode on Teensy LC
7 роки тому
PaulStoffregen
07906c1091
Teensy LC doesn't support 9 bits on Serial2 & Serial3
7 роки тому
PaulStoffregen
70e7c62a7d
Add comment to HardwareSerial.h for editing SERIAL_9BIT_SUPPORT
7 роки тому
PaulStoffregen
7099935c0e
Update open source license info
7 роки тому
PaulStoffregen
768926244c
Use constexpr constructors for all Serial classes
7 роки тому
PaulStoffregen
d30f8ccab8
Add using Print::write to hardware serial
7 роки тому
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 роки тому
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 роки тому
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
8 роки тому
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
8 роки тому
PaulStoffregen
8dbe007acc
Fix incorrect baud rate on Serial2 when used with format option
8 роки тому
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
8 роки тому
PaulStoffregen
2c726eae11
RTS/CTS support for Serial1 on Teensy LC & 3.x (experimental)
9 роки тому
PaulStoffregen
7a6898b59d
Add bool operator to HardwareSerial
9 роки тому
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
9 роки тому
duff2013
06f4defa2d
(MKL26Z64) update for F_PLL <= 16MHz
9 роки тому
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
9 роки тому
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
10 роки тому
PaulStoffregen
3b9ae1513b
rename writeBufferFree() to availableForWrite()
10 роки тому
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 роки тому
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
10 роки тому
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 роки тому
PaulStoffregen
4c047eea2b
Add serialEvent (USB) and serialEvent1-3 (serial)
10 роки тому
PaulStoffregen
d783be33c1
Clean up trailing whitespace
10 роки тому
PaulStoffregen
98737f890f
HardwareSerial write functions need to be virtual
http://forum.pjrc.com/threads/25494-Problems-with-HardwareSerial-Pointer-and-write
10 роки тому
PaulStoffregen
bff3488fd1
Add Serial1.transmitterEnable(pin) for RS-485
10 роки тому
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
11 роки тому
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 роки тому