Board logo

标题: 各位能不能解释一下这条语句!!!! [打印本页]

作者: AVR-MCU    时间: 2005-12-29 12:58     标题: 各位能不能解释一下这条语句!!!!

process(clock)
 begin
  if(clock'event and clock='1') then
   if(h_period=640)then --行周期64us
     h_period<=(others =>'0'); ================================================
      if(h_cout=625) then   --奇数场扫描的行数,假设奇数场扫描312行
      h_cout<=(others =>'0');
      else
      h_cout<=h_cout+1;
      end if;             
   else
    h_period<=h_period+1;
   end if;
        end if;

end process;

上面这段程序中,用等号表明的部分我不明白,各位能不能解释一下这条语句!!!!


作者: sndong2073    时间: 2005-12-29 16:48

当行周期为64us时

 h_period<=(others =>'0');-- 将行周期清零。

[此贴子已经被作者于2005-12-29 16:48:39编辑过]






欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0