Влад

Results 22 comments of Влад

Actually faced the same problem. I checked the assembler code in both cases with and without inline-asm feature. Initialization may be different, but the interesting part is the same: ```asm...

@adamgreig I see. So if there is such a wide range of possible cycles per instruction, maybe there is a way to check it in compile time? Does the `target`...

same here после авторизации пишет Произошла ошибка в процессе получения данных от сервиса. При том что сначала я реализовал свой сервер на ноде, потом попробовал код с этого репозитория, ошибка...

SysTick can not be an option because user can use it, and overriding duration and systick registers may bring unexpected results to user's program And the most basic usage of...

Oh, i see I didn't know we have SysTick based delay already Using sleep mode is a good point

We can look by example, 303 line is https://github.com/rust-embedded/cortex-m/blob/bb4a78208323260a161e68b2498438867f971bc5/src/peripheral/scb.rs#L303 So, it returns Interrupt with value irqn, while irqn is greater or equal to 16. In contrast, we have another function...

It was fixed in this commit: https://github.com/rust-embedded/cortex-m/pull/373/files#diff-0b00857297ead7a504fbfc9ffcaf8f62aad5996d563bc0b1ff5d5084e0769df8R303 together with replacing u8 with u16

I guess so, but the only difference is that we'll need .unwrap() the Option, and it's better to keep guard `if irqn >= 16` just in case

@adamgreig, Sure, I can do it. But how can we avoid using unwrap when we must cover all possible values in match? I guess it's ok to believe the register...

@newAM, Could you please explain a little more? I forked the repo and made this commit from the v0.7.x branch.