STM32 Blue Pill Drivers
Drivers that could be used to interface and interact with STM32F103C8T6 Microcontroller
|
This library contains the shared macros and functions for all the standard types. More...
Macros | |
#define | SET_REGISTER_BIT_STATUS(PERPH, REG, BIT, BSTATUS) (PERPH.REG.BIT = (BSTATUS == TRUE) ? 1U : 0U) |
Set register bit status (1 or 0) More... | |
This library contains the shared macros and functions for all the standard types.
#define SET_REGISTER_BIT_STATUS | ( | PERPH, | |
REG, | |||
BIT, | |||
BSTATUS | |||
) | (PERPH.REG.BIT = (BSTATUS == TRUE) ? 1U : 0U) |
#include <LIB/LSTD_SHARED.h>
Set register bit status (1 or 0)
This macro is used to set a specific bit in a specific register
[in] | PERPH | Peripheral address |
[in] | REG | Register name |
[in] | BIT | Bit name |
[in] | BSTATUS | Bit status (TRUE or FALSE) |