public I2S(I2SName i2s, PinName tx, PinName rx, PinName sck, PinName ws, PinName audio_clk) { this.i2s = i2s; this.tx = tx; this.rx = rx; this.sck = sck; this.ws = ws; this.audio_clk = audio_clk; }
public PinMap(PinName pin, I2SName peripheral, int function) : this(pin, (int)peripheral, function) { }