This is a correct way uint8 Current_time; or 32 or 64. You have to assign a name after the uint Variable then size of the 8,16,32,64.
From what i understand i think you should include the cytypes.h file, i can not remember if it's like this: #include "cytypes.h" or like this: #include <cytypes.h>.
This file include all the uint8, uint16, uint32 ... etc variable types.
Hope it helps
1 of 1 people found this helpful
I usually #include <project.h> into every .h or .c file which gives me access to all cypress-defined variables, components and macros.
It seems that either #include "cytypes.h" or #include "project.h" solves the problem. Thanks to both of you.