TestDoxygen  1.0.21
Test for Doxygen
Defines
TestMAX7456/myportbits.h File Reference

Deprecated sbi and cbi operations for port bits. More...

Go to the source code of this file.

Defines

#define sbi(REG, BIT)
#define cbi(REG, BIT)
#define setbit(REG, BIT)   REG |= (1 << BIT)
#define clrbit(REG, BIT)   REG &= ~(1 << BIT)

Detailed Description

Deprecated sbi and cbi operations for port bits.


Define Documentation

#define cbi (   REG,
  BIT 
)
Value:
__asm__ __volatile__ \
("cbi %0, %1" :: "I" (_SFR_IO_ADDR(REG)), "I" (BIT))
#define sbi (   REG,
  BIT 
)
Value:
__asm__ __volatile__ \
    ("sbi %0, %1" :: "I" (_SFR_IO_ADDR(REG)), "I" (BIT))
 All Data Structures Files Functions Variables Enumerations Defines