예제 #1
0
파일: Calculator.cs 프로젝트: drdnar/Tiedye
 public void SetInterrupt(InterruptId intid, bool value)
 {
     if (value)
     {
         Interrupts |= intid;
     }
     else
     {
         Interrupts &= ~intid;
     }
 }
예제 #2
0
파일: Calculator.cs 프로젝트: drdnar/Tiedye
 public bool GetInterrupt(InterruptId intid)
 {
     return((Interrupts & intid) != 0);
 }
예제 #3
0
파일: Calculator.cs 프로젝트: drdnar/Tiedye
 public void ClearInterrupt(InterruptId intid)
 {
     Interrupts &= ~intid;
 }
예제 #4
0
파일: Calculator.cs 프로젝트: drdnar/Tiedye
 public void SetInterrupt(InterruptId intid)
 {
     Interrupts |= intid;
 }