Return to previous page | Return to menu | Go to next page
Structure
Digital devices
typedef struct {
Uint8 id;
Uint8 ext;
Uint16 data;
Uint16 push;
Uint16 pull;
} PerDigital;
id Peripheral ID ext Extended data size data button Current data push button press data pull button pull data
Structure for referencing a digital device.
Used when referring to the system variable “Smpc_Peripheral”.
All devices can be treated as digital devices.
Reference: HARDWARE MANUAL vol.1 (SMPC)
PerDigital