public Serial(UARTName uart, PinName tx, PinName rx, PinName rts = PinName.NC, PinName cts = PinName.NC) { this.uart = uart; this.tx = tx; this.rx = rx; this.rts = rts; this.cts = cts; serial = new SerialPort(); }
public PinMap(PinName pin, UARTName peripheral, int function) : this(pin, (int)peripheral, function) { }