Skip to content

Commit d9234f2

Browse files
Remove (for now) mismapped SPI pins
1 parent e0cd416 commit d9234f2

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

drivers/include/drivers/SerialBase.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,22 @@ class SerialBase : private NonCopyable<SerialBase> {
6969

7070
enum Flow {
7171
Disabled = 0,
72+
73+
/// RS-232-E RTS flow control. This is used to prevent the other end of the connection from sending more
74+
/// bytes than the Mbed MCU can process.
75+
/// When this flow control is active, the RTS signal will normally be asserted (low),
76+
/// but will go deasserted (high) if the Mbed MCU might not have Rx buffer space to store another byte.
77+
/// Note that in this configuration the RTS signal actually operates as a "ready to receive" (RTR) output,
78+
/// not a true RTS.
7279
RTS,
80+
81+
/// RS-232 CTS flow control. This is used to prevent the Mbed MCU from sending more bytes than the
82+
/// other end of the connection can process.
83+
/// When this flow control is active, the CTS pin will be sampled after transmitting each byte, and if
84+
/// if is deasserted (high), transmission will pause until it becomes asserted (low) again.
7385
CTS,
86+
87+
/// Combination of RTS and CTS flow control as previously defined.
7488
RTSCTS
7589
};
7690

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/TARGET_FF_LPC546XX/PeripheralPins.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,12 @@ const PinMap PinMap_SPI_SCLK[] = {
9797
const PinMap PinMap_SPI_MOSI[] = {
9898
{P1_5, SPI_0, 1},
9999
{P1_24, SPI_2, 1},
100-
{P0_8, SPI_3, 1},
101100
{NC , NC , 0}
102101
};
103102

104103
const PinMap PinMap_SPI_MISO[] = {
105104
{P1_6, SPI_0, 1},
106105
{P1_25, SPI_2, 1},
107-
{P0_9, SPI_3, 1},
108106
{NC , NC , 0}
109107
};
110108

0 commit comments

Comments
 (0)