Работает
Была исправлена симуляция таймеров и его статус регситра
This commit is contained in:
@@ -147,4 +147,14 @@ static void ADC_SIM_DEINIT() {}
|
||||
//-----------------------------------------------------------------------//
|
||||
|
||||
|
||||
|
||||
|
||||
#define SR_STORE(periph, srname) \
|
||||
uint32_t sr_origin = periph->srname; \
|
||||
uint32_t sr_new = periph->srname;
|
||||
|
||||
#define SR_PROCESS(periph, srname) \
|
||||
sr_new = sr_origin & periph->srname; \
|
||||
periph->srname = sr_new;
|
||||
|
||||
#endif // _MATLAB_SETUP_H_
|
||||
|
||||
Reference in New Issue
Block a user