These PWM macros are reservations for PWM.h
#define PWM_CMD_RESERVED 32 |
Common PWM_control command code reservation offset. PWM driver implementations should offset command codes with PWM_CMD_RESERVED growing positively
Example implementation specific command codes:
1 #define PWMXYZ_CMD_COMMAND0 PWM_CMD_RESERVED + 0
2 #define PWMXYZ_CMD_COMMAND1 PWM_CMD_RESERVED + 1
#define PWM_STATUS_RESERVED -32 |
Common PWM_control status code reservation offset. PWM driver implementations should offset status codes with PWM_STATUS_RESERVED growing negatively.
Example implementation specific status codes:
1 #define PWMXYZ_STATUS_ERROR0 PWM_STATUS_RESERVED - 0
2 #define PWMXYZ_STATUS_ERROR1 PWM_STATUS_RESERVED - 1
3 #define PWMXYZ_STATUS_ERROR2 PWM_STATUS_RESERVED - 2