Hello. We are using your TI Hercules RM48L942ZWT processor with HalCoGen 4.03.00. for the autogenerated het.c functions -- we had needed the pwmSetSignal and pwmGetSignal - we needed the duty cycle to allow for float (the default autogenerated from HalCoGen had the dutyCycle as uint and period as float). We changed the dutyCycle in both functions to be float32. When we call the setSignal routine and pass it i.e., 62.0% duty cycle and period of 10000.00 for example. When we call the pwmGetSignal function immediately after calling the pwmSetSignal routine, dutyCycle is returned as =61.999... and period = 9999.36....
Why are the values not the same? Isn't the math the same, even when we change the uint type to float type? Thank you.