Hi,
When I search answers to Assert_isTrue in the example GPIO 1294 LaunchPad project:
void GPIO_clearInt(unsigned int index) { PinConfig *config = (PinConfig *) &GPIOTiva_config.pinConfigs[index]; Assert_isTrue(initCalled && index < GPIOTiva_config.numberOfPinConfigs, NULL);
I trace down to XDC user manual and other sources. They give similar answers and a new question to me. In the following except, I am not clear about "that is not in a module". What module does it talk about?
Example 1: The following C code adds an assert to application code that is that is not in a module. This assert does not have an assert identifier (the second argument is NULL); This makes it an internal assert. /* file.c */ #include Assert_isTrue(count > 0, NULL);
Thanks