Download CubeSuite Ver.1.40 Integrated Development Environment User`s

Transcript
CubeSuite Ver.1.40
APPENDIX B USER OPEN INTERFACE
InputDigitalPinFunc
Performs the digital pin input processing, as a callback function.
Caution
InputDigitalPinFunc is a place holder for a user-defined function name, so this function name does
not have to be used.
[Syntax]
#include
void
"suo.h"
InputDigitalPinFunc (SuoHandle handle, int pinValue);
[Argument(s)]
Argument
Description
handle
Handle of the pin interface
pinValue
Digital input value (specify any of the following)
- SUO_HIGH (=1):
HIGH value
- SUO_LOW (=0):
LOW value
[Return value]
None
[Description]
- InputDigitalPinFunc describes the digital pin input processing.
- Use the SuoSetInputDigitalPinCallback function to register InputDigitalPinFunc as a callback function.
R20UT0264EJ0100 Rev.1.00
Oct 01, 2010
Page 516 of 538