Defines | |
#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)) |
#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 8306 of file STM32F10x.h.
#define CLEAR_REG | ( | REG | ) | ((REG) = (0x0)) |
Definition at line 8310 of file stm32f10x.h.
#define CLEAR_REG | ( | REG | ) | ((REG) = (0x0)) |
Definition at line 8310 of file STM32F10x.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 8316 of file STM32F10x.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 8308 of file STM32F10x.h.
#define READ_REG | ( | REG | ) | ((REG)) |
Definition at line 8314 of file STM32F10x.h.
#define READ_REG | ( | REG | ) | ((REG)) |
Definition at line 8314 of file stm32f10x.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 8304 of file STM32F10x.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 8312 of file STM32F10x.h.