Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Define

This section introduces the Macro definition which is used as PWM M-HAL's API error return type. More...

Overview

This section introduces the Macro definition which is used as PWM M-HAL's API error return type.

Macros

#define PWM_EPTR   1
 Invalid argument, it means the pointer is NULL.
 
#define PWM_EPARAMETER   2
 Invalid argument, it means the parameter invalid.
 
#define PWM_ENOMEM   3
 Out of memory, it means memory malloc fail.
 
#define PWM_EFAULT   4
 Bad address.
 
#define PWM_EAGAIN   5
 Try again.
 
#define PWM_ETIMEOUT   6
 Time out.
 
#define PWM_ECLK   7
 Clock select error.
 
#define MAX_GROUP_NUM   3
 Max pwm group number.