noInterrupts() equivalent #194
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 1 comment
-
Posted at 2014-02-01 by @gfwilliams Afraid not... Interrupts are used for all IO, so it's a bit hard to disable them for any length of time. For example while irqs are disabled, a simple print statement could crash the device. I seriously doubt this is the problem though as SPI itself isn't really very timing critical. Are you sure it's not just a card that is formatted strangely? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2014-02-01 by TiCPU
I'm looking for a way to disable timers and interrupts to test whatever or not the FS module is disrupted by running timers, so I would disable interrupts/timers, exec FS routine and re-enable them. Is this possible at the moment?
Beta Was this translation helpful? Give feedback.
All reactions