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


Structure

PerDigital

Digital devices

Structure

typedef   struct {
          Uint8     id;
          Uint8     ext;
          Uint16    data;
          Uint16    push;
          Uint16    pull;
} PerDigital;

Member

id Peripheral ID
ext Extended data size
data button Current data
push button press data
pull button pull data

Description

Structure for referencing a digital device.

Remarks

Used when referring to the system variable “Smpc_Peripheral”.
All devices can be treated as digital devices.

Reference: HARDWARE MANUAL vol.1 (SMPC)

PerDigital


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