Skip to content

Commit 5ff6ac5

Browse files
committed
Add COM4 pins for ESP32_p4
1 parent bf2115b commit 5ff6ac5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

nanoFramework.Hardware.Esp32/DeviceTypePins.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,23 @@ public enum DeviceFunction
161161
/// </summary>
162162
COM3_CTS = DeviceTypes.SERIAL + (3 * ValueTypes.DeviceIndex) + 3,
163163

164+
/// <summary>
165+
/// Device function TX data for COM4
166+
/// </summary>
167+
COM4_TX = DeviceTypes.SERIAL + (4 * ValueTypes.DeviceIndex) + 0,
168+
/// <summary>
169+
/// Device function RX data for COM4
170+
/// </summary>
171+
COM4_RX = DeviceTypes.SERIAL + (4 * ValueTypes.DeviceIndex) + 1,
172+
/// <summary>
173+
/// Device function Request to Send(RTS) for COM4
174+
/// </summary>
175+
COM4_RTS = DeviceTypes.SERIAL + (4 * ValueTypes.DeviceIndex) + 2,
176+
/// <summary>
177+
/// Device function Clear to Send(CTS) for COM4
178+
/// </summary>
179+
COM4_CTS = DeviceTypes.SERIAL + (4 * ValueTypes.DeviceIndex) + 3,
180+
164181
/// <summary>
165182
/// Device function PWM1
166183
/// </summary>

0 commit comments

Comments
 (0)