Part Number: CCSTUDIO-C2000
what is the difference between these two define:
#define HV_PG_GPIO 11
#define HV_PG_GPIO ((uint16_t)11)
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: CCSTUDIO-C2000
what is the difference between these two define:
#define HV_PG_GPIO 11
#define HV_PG_GPIO ((uint16_t)11)
The type of ...
#define HV_PG_GPIO 11
... is int. The type of ...
#define HV_PG_GPIO ((uint16_t)11)
... is unsigned int.
Thanks and regards,
-George