Mmc_Controller::enableinterrupt - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::EnableInterrupt

Enables the interrupt output.
unsigned long EnableInterrupt(
void
);
Detailed description
■Parameter
None.
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_WIN_RESET_EVENT
■Point
• When using the interrupt function, enable the interrupt output by the procedure below.
1.
Call the StartInterrupt method of the device driver class.
2.
Call the SetUserProgramReady method of the controller class and turn ON user program READY signal [Y0].
3.
Call the EnableInterrupt method of the controller class.
• This method writes "1: Interrupt enabled" to "[Cd.1100] Interrupt enable request".
■Supported version
API version
1.00
■Reference
DisableInterrupt (Page 45 MMC_Controller::DisableInterrupt)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
44
3.2 MMC_Controller Class
Description
Function succeeded
The Open method of the device driver class has not been called.
An error occurred in the ResetEvent function (Win32API). Call the GetLastError function of
Win32API and confirm the error details.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents