Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SerialNano.cpp
- Committer:
- coisme
- Date:
- 2016-03-12
- Revision:
- 1:312356f93678
- Parent:
- 0:f3f4407ec133
File content as of revision 1:312356f93678:
#include "SerialNano.h"
#include "Serial.h"
#include "SerialBase.h"
#if DEVICE_SERIAL
namespace mbed {
SerialNano::SerialNano(PinName tx, PinName rx) : Serial(tx, rx) {
_serial.uart->CONFIG &= ~0x01; // Disable Hardware Flow Control
_serial.uart->PSELRTS = 0xFFFFFFFF;
_serial.uart->PSELCTS = 0xFFFFFFFF;
}
} // namespace mbed
#endif // DEVICE_SERIAL