Structure/Constant Definitions
K
A
DAK
369
Configuration Attributes (field AMPBCFGA)
#define AMCAMTK 1 /* Some Medium tasks */
#define AMCAMUP 2 /* Some Medium user procedures*/
#define AMCAS24 4 /* Use 24-bit address space */
AMX Time/Date Structure
struct amxtds {
unsigned char amtdsec; /* seconds (0-59) */
unsigned char amtdmin; /* minutes (0-59) */
unsigned char amtdhr; /* hours (0-23) */
unsigned char amtddy; /* day (1-31) */
unsigned char amtdmn; /* month (1-12) */
unsigned char amtdyr; /* year (0-99) */
unsigned char amtdow; /* day of week (Mon=1 to Sun=7)*/
unsigned char amtdcen; /* 0 if time/date is incorrect */
/* century if time/date */
/* is correct */
};
AMX Timer Definition Structure
struct amxtms {
void (*amtmproc)(); /* A(Timer Procedure) */
long amtmper; /* timer period (system ticks)*/
void *amtmparm /* user defined timeout */
/* parameter */
char amtmtag1; /* timer tag */
char amtmtag2;
char amtmtag3;
char amtmtag4;
};
AMX Buffer Pool Definition Structure
struct amxbps {
char *ambpbp; /* Memory pointer */
unsigned int ambpnb; /* Number of buffers */
unsigned int ambpbs; /* Size of buffers */
char ambptag1; /* Buffer pool tag */
char ambptag2;
char ambptag3;
char ambptag4;
};