示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
文件: I2S.cs 项目: h7ga40/PeachCamWin
 internal void ConfigChannel(ref ssif_channel_cfg_t cfg)
 {
     this.cfg = cfg;
 }
示例#4
0
文件: I2S.cs 项目: h7ga40/PeachCamWin
 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;
 }