I need to enable PWM functionality on FTM3_CH2 pin for Colibri VF61 (SODIMM 99).
This is not one of the PWM pins compatible with the Colibry family.
I did some tests and I successfully enable the PWM on the desired pin using
Pwm_SetConfigInt(hPwm, L"io", uIoPin.GenericDefinition, StoreVolatile);
but I have some questions on the ToradexCElibrary (v 2.1):
L"PWM4", but none of this is what I need. Since the documentation states
This function call does not modify any hardware registers.
L"PWM1" but I don’t know if this is the expected way to do. Could you clarify, please?
BOOL Pwm_SetConfigInt (HANDLE hPort, const TCHAR *paramName, DWORD value, ParamStorageType storageType)
If the function doesn’t modify the parameter
value, I suggest to change the definition to
const DWORD value
Do you think it would be a good idea?