LeUart
Used for communication between the Z-Uno board and another microcontrollers. Works similar to Serial with the only difference that at low speeds it avaliable in EM2 energy safe mode. By default LeUart is mapped to TX0(24) and RX0(25) pins. You can change default pins of UART interface, using method begin()Pinout
Compatibility pin table
Z-Uno pin # | LeUart TX | LeUart RX |
---|---|---|
0 | ✔ | ✔ |
1 | ✔ | ✔ |
2 | ✔ | ✔ | 3 | ✔ | ✔ |
4 | ✔ | ✔ |
5 | ✔ | ✔ |
6 | ✔ | ✔ |
7 | ✔ | ✔ |
8 | ✔ | ✔ | 9 | ✔ | ✔ |
10 | ✔ | ✔ |
11 | ✔ | ✔ |
12 | ✔ | ✔ |
13 | ✔ | ✔ |
14 | ✔ | ✔ | 15 | ✔ | ✔ |
16 | ✔ | ✔ |
17 | ✔ | ✔ |
18 | ✔ | ✔ |
19 | ✔ | ✔ |
20 | ✔ | ✔ | 21 | ✔ | ✔ |
22 | ✔ | ✔ |
23 | ✔ | ✔ |
24 | ✔ | ✔ |
25 | ✔ | ✔ |
LeUart object | Cortex peripheral |
---|---|
LeUart | LEUART0 |
When you send data LeUart object dynamically occupies another one DMA channel for data transfer time interval. Z-Uno builtin DMA controller supports up to 8 channels. All LeUart ports have the following methods supported:
- available() - works similarly Serial.available()
- begin()
- dumpPrint() - works similarly Serial.dumpPrint()
- end() - works similarly Serial.end()
- find() - works similarly Serial.find()
- findUntil() - works similarly Serial.findUntil()
- fixPrint() - works similarly Serial.fixPrint()
- formatPrint() - works similarly Serial.formatPrint()
- parseFloat() - works similarly Serial.parseFloat()
- parseInt() - works similarly Serial.parseInt()
- peek() - works similarly Serial.peek()
- print() - works similarly Serial.print()
- printf() - works similarly Serial.printf()
- println() - works similarly Serial.println()
- read() - works similarly Serial.read()
- readBytes() - works similarly Serial.readBytes()
- readBytesUntil() - works similarly Serial.readBytesUntil()
- readString() - works similarly Serial.readString()
- readStringUntil() - works similarly Serial.readStringUntil()
- setTimeout() - works similarly Serial.setTimeout()
- startFrame()
- startFrameDisabled()
- wakeUp()
- wakeUpDisabled()
- write() - works similarly Serial.write()