RegisterHardwareInterrupt() public method

public RegisterHardwareInterrupt ( String name, long interruptFlagAddress, bool autoReset, Action interrupt ) : void
name String
interruptFlagAddress long
autoReset bool
interrupt Action
return void
コード例 #1
0
        public InterruptQueueingHandler(InterruptHandler interruptHandler, String interruptQueueName, String interruptName, long interruptQueueingAddress, long interruptFlagAddress)
        {
            _interruptHandler     = interruptHandler;
            _interruptFlagAddress = interruptFlagAddress;
            _interruptName        = interruptName;

            _interruptHandler.RegisterHardwareInterrupt(interruptQueueName, interruptQueueingAddress, true, AddToInterruptQueue);
        }
コード例 #2
0
        public InterruptQueueingHandler(InterruptHandler interruptHandler, String interruptQueueName, String interruptName, long interruptQueueingAddress, long interruptFlagAddress)
        {
            _interruptHandler = interruptHandler;
            _interruptFlagAddress = interruptFlagAddress;
            _interruptName = interruptName;

            _interruptHandler.RegisterHardwareInterrupt(interruptQueueName, interruptQueueingAddress, true, AddToInterruptQueue);
        }