Low level functions for Arduino
From Wikiid
Revision as of 19:53, 14 December 2008 by SteveBaker (Talk | contribs) (New page: ''See also Arduino'' Here's how you perform low level functions: sei () ; // Set the global interrupt enable flag (ENABLE INTERRUPT) cei () ; // Clear the global interrupt en...)
See also Arduino
Here's how you perform low level functions:
sei () ; // Set the global interrupt enable flag (ENABLE INTERRUPT) cei () ; // Clear the global interrupt enable flag (DISABLE INTERRUPT)
sbi ( REGISTER, BIT ) ; // Set a bit in a register. cbi ( REGISTER, BIT ) ; // Clear a bit in a register.