PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
stc_clk_vbat_config Struct Reference

Clock VBAT configuration. More...

#include <clk.h>

Data Fields

boolean_t bLinkClock
 
uint8_t u8VbClockDiv
 Value for VB_CLKDIV register. More...
 
en_clk_current_t enClkSustainCurrent
 Clock oscillator current sustain setting. See en_clk_current_t for details. More...
 
en_clk_current_t enClkBoostCurrent
 Clock oscillator current boost setting. See en_clk_current_t for details. More...
 
en_clk_boost_time_t enClkBoostTime
 Clock oscillator current boost time. See en_clk_boost_time_t for details. More...
 
en_clk_vbat_pins_t enVbatPins
 Setting of VBAT pin usage, see stc_clk_vbat_config_t for details. More...
 
boolean_t bVbP48Peripheral
 TRUE: P48 pin (VREGCTL) as I/O of peripheral function, FALSE: P48 pin as GPIO. More...
 
boolean_t bVbP49Peripheral
 TRUE: P49 pin (VWAKEUP) as I/O of peripheral function, FALSE: P49 pin as GPIO. More...
 
boolean_t bVbP47Peripheral
 TRUE: P47 pin (X1A) as I/O of peripheral function, FALSE: P47 pin as GPIO. More...
 
boolean_t bVbP46Peripheral
 TRUE: P46 pin (X0A) as I/O of peripheral function, FALSE: P46 pin as GPIO. More...
 
boolean_t bVbP48PullUp
 TRUE: Enable pull-up on P48 (VREGCTL), FALSE: disbale pull-up. More...
 
boolean_t bVbP49PullUp
 TRUE: Enable pull-up on P49 (VWAKEUP), FALSE: disbale pull-up. More...
 
boolean_t bVbP47PullUp
 TRUE: Enable pull-up on P47 (X1A), FALSE: disbale pull-up. More...
 
boolean_t bVbP46PullUp
 TRUE: Enable pull-up on P46 (X0A), FALSE: disbale pull-up. More...
 
en_clk_vbat_pins_ddr_t enVbP48InOut
 P48 (VREGCTL) port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details. More...
 
en_clk_vbat_pins_ddr_t enVbP49InOut
 P49 (VWAKEUP) port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details. More...
 
en_clk_vbat_pins_ddr_t enVbP47InOut
 P47 (X1A) port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details. More...
 
en_clk_vbat_pins_ddr_t enVbP46InOut
 P46 (X0A )port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details. More...
 
boolean_t bVbP48OpenDrain
 TRUE: P48 (VREGCTL) Pseudo Open Drain enabled, FALSE: port push-pull output. More...
 
boolean_t bVbP49OpenDrain
 TRUE: P49 (VWAKEUP) Pseudo Open Drain enabled, FALSE: port push-pull output. More...
 

Detailed Description

Clock VBAT configuration.

The Clock VBAT configuration settings

Definition at line 608 of file clk.h.

Field Documentation

boolean_t bLinkClock
            TRUE: 32 kHz oscillation circuit linked with clock oscillation circuit,

FALSE: 32 kHz oscillation circuit operates independly

Definition at line 610 of file clk.h.

Referenced by Clk_VbatGetParameters().

boolean_t bVbP46Peripheral

TRUE: P46 pin (X0A) as I/O of peripheral function, FALSE: P46 pin as GPIO.

Definition at line 620 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP46PullUp

TRUE: Enable pull-up on P46 (X0A), FALSE: disbale pull-up.

Definition at line 624 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP47Peripheral

TRUE: P47 pin (X1A) as I/O of peripheral function, FALSE: P47 pin as GPIO.

Definition at line 619 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP47PullUp

TRUE: Enable pull-up on P47 (X1A), FALSE: disbale pull-up.

Definition at line 623 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP48OpenDrain

TRUE: P48 (VREGCTL) Pseudo Open Drain enabled, FALSE: port push-pull output.

Definition at line 629 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP48Peripheral

TRUE: P48 pin (VREGCTL) as I/O of peripheral function, FALSE: P48 pin as GPIO.

Definition at line 617 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP48PullUp

TRUE: Enable pull-up on P48 (VREGCTL), FALSE: disbale pull-up.

Definition at line 621 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP49OpenDrain

TRUE: P49 (VWAKEUP) Pseudo Open Drain enabled, FALSE: port push-pull output.

Definition at line 630 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP49Peripheral

TRUE: P49 pin (VWAKEUP) as I/O of peripheral function, FALSE: P49 pin as GPIO.

Definition at line 618 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

boolean_t bVbP49PullUp

TRUE: Enable pull-up on P49 (VWAKEUP), FALSE: disbale pull-up.

Definition at line 622 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_current_t enClkBoostCurrent

Clock oscillator current boost setting. See en_clk_current_t for details.

Definition at line 614 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_boost_time_t enClkBoostTime

Clock oscillator current boost time. See en_clk_boost_time_t for details.

Definition at line 615 of file clk.h.

Referenced by Clk_ClockVbatInit().

en_clk_current_t enClkSustainCurrent

Clock oscillator current sustain setting. See en_clk_current_t for details.

Definition at line 613 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_vbat_pins_t enVbatPins

Setting of VBAT pin usage, see stc_clk_vbat_config_t for details.

Definition at line 616 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_vbat_pins_ddr_t enVbP46InOut

P46 (X0A )port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details.

Definition at line 628 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_vbat_pins_ddr_t enVbP47InOut

P47 (X1A) port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details.

Definition at line 627 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_vbat_pins_ddr_t enVbP48InOut

P48 (VREGCTL) port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details.

Definition at line 625 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

en_clk_vbat_pins_ddr_t enVbP49InOut

P49 (VWAKEUP) port direction and init value, if output. See en_clk_vbat_pins_ddr_t for details.

Definition at line 626 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().

uint8_t u8VbClockDiv

Value for VB_CLKDIV register.

Definition at line 612 of file clk.h.

Referenced by Clk_ClockVbatInit(), and Clk_VbatGetParameters().


The documentation for this struct was generated from the following file: