Пример #1
0
        public TimerBlock(bool has32Divider, bool hasInverter, bool hasDeadzone, timerNotify notify, InteruptController.InterruptTokens notifyToken1, InteruptController.InterruptTokens notifyToken2)
        {
            _has32Divider = has32Divider;
            _hasInverter  = hasInverter;
            _hasDeadzone  = hasDeadzone;

            _notify       = notify;
            _notifyTokens = new InteruptController.InterruptTokens[2] {
                notifyToken1, notifyToken2
            };

            init();
        }
Пример #2
0
        }//onMemoryAccessWrite

        private void TimerFired(InteruptController.InterruptTokens notifyToken)
        {
            mInteruptController.InteruptNotify(notifyToken);
        }