Other Parts Discussed in Thread: SYSBIOS
Which code syntax do you recommend for personal firmware development? I see use of multiple forms -
driverlib:
- PWMPulseWidthSet() (pwm.c:447)
SYSBIOS:
- BIOS_getCpuFreq() ✔️ (BIOS.c:91)
TivaWare(pwmled_EK_TM4C1294XL_TI):
- pwmLEDFxn(): (pwmled.c:61)
- EK_TM4C1294XL_initPWM() (EK_TM4C1294XL.c:441)
I use the following syntax
- jPWM_Init();
- jPWM_Add(PWM0);
- jPWM_Start(PWM0);
- jPWM_Stop(PWM0); /* disable channel 0 */
- jPWM_Stop(PWM_MODULE); /* disable the entire module */
With 'j' denoting my code for clean simplicity. I have heard multiple opinions, what is your recommendation? I would like to follow your recommendations in possible.