Return to previous page | Return to menu | Go to next page
Structure
Analog device
typedef struct {
Uint8 id;
Uint8 ext;
Uint16 data;
Uint16 push;
Uint16 pull;
Uint8 x;
Uint8 y;
Uint8 z;
} PerAnalog;
id Peripheral ID ext Extended data size data button Current data push button press data pull button pull data x X-axis data absolute value y Y-axis data absolute value z Z-axis data absolute value
A structure for referring to analog devices.
It is used when the system variable “Smpc_Peripheral” is typecast and referenced as an analog device.
Reference: HARDWARE MANUAL vol.1 (SMPC)
PerAnalog