public void i2s_config_channel(ref i2s_t obj, ref ssif_channel_cfg_t cfg) { if (!interfaces.TryGetValue(obj.id, out var uif)) { throw new ArgumentException(); } ((I2S)uif).ConfigChannel(ref cfg); }
public void i2s_config(ref i2s_t obj, ref ssif_channel_cfg_t cfg, int max_write_num, int max_read_num) { if (!interfaces.TryGetValue(obj.id, out var uif)) { throw new ArgumentException(); } ((I2S)uif).Config(ref cfg, max_write_num, max_read_num); }
internal void ConfigChannel(ref ssif_channel_cfg_t cfg) { this.cfg = cfg; }
internal void Config(ref ssif_channel_cfg_t cfg, int max_write_num, int max_read_num) { this.cfg = cfg; this.max_write_num = max_write_num; this.max_read_num = max_read_num; }