public uint GetPwmParameter(byte channel, PwmParam param) { byte address = (byte)((channel << 2) + (byte)param); return GetMemory(address); }
public static uint GetPwmParameter(SPI spi, byte channel, PwmParam param) { byte address = (byte)((channel << 2) + param); return GetMemory(spi, address); }
public void SetPwmParameter(byte channel, PwmParam param, uint data) { byte address = (byte)((channel << 2) + (byte)param); SetMemory(address, data); }
public static void SetPwmParameter(SPI spi, byte channel, PwmParam param, uint data) { byte address = (byte)((channel << 2) + param); SetMemory(spi, address, data); }