2019-07-09 02:59 AM
does timer Callback erase some value of poiteur. i used a poiter to CAN_HandleTypeDef then i initialised it, after that i set a timer with 1ms period, and when callback timer is called i lose my seeting of CAN_HandleTypeDef , the fileds which changes is (Init.prescaler, Init.Mode and Init.SyncJumpWidth)
when i was debbuging, i saw poiter poit to the same adress but have not the same values befor timer interruption.
befor timer callback and after init.
the 3 values are changed to 0x80067e3 after the callback function.
does the interruption of the timer affect the addressing. or when we are in interruption we lose adressing.
after timer callback.
thanks for your help.