Macros
Collaboration diagram for Exported_macro:

Macros

#define CLEAR_BIT(REG, BIT)   ((REG) &= ~(BIT))
 
#define CLEAR_BIT(REG, BIT)   ((REG) &= ~(BIT))
 
#define CLEAR_REG(REG)   ((REG) = (0x0))
 
#define CLEAR_REG(REG)   ((REG) = (0x0))
 
#define MODIFY_REG(REG, CLEARMASK, SETMASK)   WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
 
#define MODIFY_REG(REG, CLEARMASK, SETMASK)   WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
 
#define READ_BIT(REG, BIT)   ((REG) & (BIT))
 
#define READ_BIT(REG, BIT)   ((REG) & (BIT))
 
#define READ_REG(REG)   ((REG))
 
#define READ_REG(REG)   ((REG))
 
#define SET_BIT(REG, BIT)   ((REG) |= (BIT))
 
#define SET_BIT(REG, BIT)   ((REG) |= (BIT))
 
#define WRITE_REG(REG, VAL)   ((REG) = (VAL))
 
#define WRITE_REG(REG, VAL)   ((REG) = (VAL))
 

Detailed Description

Macro Definition Documentation

#define CLEAR_BIT (   REG,
  BIT 
)    ((REG) &= ~(BIT))

Definition at line 8306 of file stm32f10x.h.

#define CLEAR_BIT (   REG,
  BIT 
)    ((REG) &= ~(BIT))

Definition at line 11421 of file stm32f4xx.h.

#define CLEAR_REG (   REG)    ((REG) = (0x0))

Definition at line 8310 of file stm32f10x.h.

#define CLEAR_REG (   REG)    ((REG) = (0x0))

Definition at line 11425 of file stm32f4xx.h.

#define MODIFY_REG (   REG,
  CLEARMASK,
  SETMASK 
)    WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))

Definition at line 8316 of file stm32f10x.h.

#define MODIFY_REG (   REG,
  CLEARMASK,
  SETMASK 
)    WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))

Definition at line 11431 of file stm32f4xx.h.

#define READ_BIT (   REG,
  BIT 
)    ((REG) & (BIT))

Definition at line 8308 of file stm32f10x.h.

#define READ_BIT (   REG,
  BIT 
)    ((REG) & (BIT))

Definition at line 11423 of file stm32f4xx.h.

#define READ_REG (   REG)    ((REG))

Definition at line 8314 of file stm32f10x.h.

#define READ_REG (   REG)    ((REG))

Definition at line 11429 of file stm32f4xx.h.

#define SET_BIT (   REG,
  BIT 
)    ((REG) |= (BIT))

Definition at line 8304 of file stm32f10x.h.

#define SET_BIT (   REG,
  BIT 
)    ((REG) |= (BIT))

Definition at line 11419 of file stm32f4xx.h.

#define WRITE_REG (   REG,
  VAL 
)    ((REG) = (VAL))

Definition at line 8312 of file stm32f10x.h.

#define WRITE_REG (   REG,
  VAL 
)    ((REG) = (VAL))

Definition at line 11427 of file stm32f4xx.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30