Return to previous page | Return to menu | Go to next page


Structure

PerAnalog

Analog device

Structure

typedef   struct {
          Uint8     id;
          Uint8     ext;
          Uint16    data;
          Uint16    push;
          Uint16    pull;
          Uint8     x;
          Uint8     y;
          Uint8     z;
} PerAnalog;

Member

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

Description

A structure for referring to analog devices.

Remarks

It is used when the system variable “Smpc_Peripheral” is typecast and referenced as an analog device.

Reference: HARDWARE MANUAL vol.1 (SMPC)

PerAnalog


Return to previous page | Return to menu | Go to next page