STM8L15x Standard Peripherals Drivers: PWR_Registers_Bits_Definition

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

PWR_Registers_Bits_Definition

Defines

#define PWR_CR2_VREFINTF   ((uint8_t)0x01)
#define PWR_CSR1_PLS   ((uint8_t)0x0E)
#define PWR_CSR1_PVDE   ((uint8_t)0x01)
#define PWR_CSR1_PVDIEN   ((uint8_t)0x10)
#define PWR_CSR1_PVDIF   ((uint8_t)0x20)
#define PWR_CSR1_PVDOF   ((uint8_t)0x40)
#define PWR_CSR2_FWU   ((uint8_t)0x04)
#define PWR_CSR2_ULP   ((uint8_t)0x02)

Define Documentation

#define PWR_CR2_VREFINTF   ((uint8_t)0x01)

Internal reference voltage status flag mask

Definition at line 1423 of file stm8l15x.h.

Referenced by PWR_GetFlagStatus().

#define PWR_CSR1_PLS   ((uint8_t)0x0E)

PVD Level thresholds selector mask

Definition at line 1417 of file stm8l15x.h.

Referenced by PWR_PVDLevelConfig().

#define PWR_CSR1_PVDE   ((uint8_t)0x01)

Power Voltage Detector (PVD) enable mask

Definition at line 1418 of file stm8l15x.h.

Referenced by PWR_PVDCmd().

#define PWR_CSR1_PVDIEN   ((uint8_t)0x10)

PVD interrupt enable mask

Definition at line 1416 of file stm8l15x.h.

Referenced by PWR_PVDGetITStatus(), and PWR_PVDITConfig().

#define PWR_CSR1_PVDIF   ((uint8_t)0x20)

PVD interrupt flag mask

Definition at line 1415 of file stm8l15x.h.

Referenced by PWR_DeInit(), PWR_PVDClearFlag(), PWR_PVDClearITPendingBit(), and PWR_PVDGetITStatus().

#define PWR_CSR1_PVDOF   ((uint8_t)0x40)

PVD output flag mask

Definition at line 1414 of file stm8l15x.h.

#define PWR_CSR2_FWU   ((uint8_t)0x04)

Fast wake up configuration mask

Definition at line 1421 of file stm8l15x.h.

Referenced by PWR_FastWakeUpCmd().

#define PWR_CSR2_ULP   ((uint8_t)0x02)

Ultra Low power configuration mask

Definition at line 1422 of file stm8l15x.h.

Referenced by PWR_UltraLowPowerCmd().

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com