-
Notifications
You must be signed in to change notification settings - Fork 0
TP1 - gestPWM.c -> bug / amélioration #5
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingimprovementimprovement the listing or algorithmimprovement the listing or algorithminvalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requestedspecificationcompliance with the specifications (customer's requests)compliance with the specifications (customer's requests)wontfixThis will not be worked onThis will not be worked on
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingimprovementimprovement the listing or algorithmimprovement the listing or algorithminvalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requestedspecificationcompliance with the specifications (customer's requests)compliance with the specifications (customer's requests)wontfixThis will not be worked onThis will not be worked on
https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L22C1-L23C50
PWMData=> à quoi elle vous sert ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 22 in f652cde
=> FCT : GPWM_Initialize <=
TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.h
Line 54 in f652cde
https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L41C1-L43C52
=> FCT : GPWM_GetSettings <=
uint16_t,uint8_t?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L78C1-L85C92
uint16_t=> plage de valeurs ?indexMoyenneGlissante=> valeurs max ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 80 in f652cde
appData=> comment est perçu cette variable dans la fct ? est-ce une bonne pratique ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 88 in f652cde
=> bug => librairie => appel de fonction =>
abs=> quelle librairie est associé à cet appel de fonction ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 118 in f652cde
SpeedSetting=> quelle est la plage de valeur que vous vous attendez pour cette variable ?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L115C8-L115C21
absAngle=> quelle est la plage de valeur que vous vous attendez pour cette variable ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 121 in f652cde
AngleSetting=> quelle est la plage de valeur que vous vous attendez pour cette variable ?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L124C8-L124C20
=> FCT : GPWM_DispSettings <=
printf_lcd()=> une fois cet appel de fct exécuté, comment se comporte l'affichage ? est-ce que l'information est gradée en mémoire si vous écrivez sur une autre ligne ?printf_lcd()=> est-ce que certains appel de fct peuvent-il être appelé qu'une seule fois ?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L145C1-L146C91
printf_lcd()=> opérateur de conversion =>%xd=> que représente le x ? que se passe-t-il si la valeur à affiché est plus grande que x et même question si plus petite ?printf_lcd()=> opérateur de conversion =>%xd=> comment pourriez-vous gérer les signes : + et - ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 153 in f652cde
TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 158 in f652cde
TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 163 in f652cde
TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 168 in f652cde
=> FCT : GPWM_ExecPWM <=
int=> plage de valeurs ? Est-ce que le type est utilisée est judicieux ?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L187C1-L188C32
else) ?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L192C1-L211C6
PulseWidthAngle; PulseWidthVitesse => plage de valeur ?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 215 in f652cde
https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L219C5-L219C23
DRV_TMR1_PeriodValueGet=> paramètre de sortie => quelle valeur vous ressort cette fct ?99?https://github.com/NicolasBessson/TP1_TimerPWM/blob/f652cdede10ab833ab73bbc1231be5fe7df48c46/TP1_TimerPWM/firmware/src/gestPWM.c#L219C5-L219C23
=> FCT : GPWM_ExecPWMSoft <=
uint8_t?TP1_TimerPWM/TP1_TimerPWM/firmware/src/gestPWM.c
Line 226 in f652cde