This content has been marked as final. Show 2 replies
counter32_t counter = 0; is invalid.
Variables declared to be of type counter32_t can only be specified as arguments to a kernel or a non-kernel function. These types cannot be used in any expression evaluation, or have values assigned to it inside a kernel or a function. These types cannot be used to declare local variables or as the return type of a function. A counter32_t argument to a function cannot be modified.