Configuration functions

Functions

__STATIC_INLINE void ll_dual_timer_enable_counter (dual_timer_regs_t *DUAL_TIMERx)
 Enable dual_timer counter. More...
 
__STATIC_INLINE void ll_dual_timer_disable_counter (dual_timer_regs_t *DUAL_TIMERx)
 Disable dual_timer counter. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_is_enabled_counter (dual_timer_regs_t *DUAL_TIMERx)
 Indicate whether the dual_timer counter is enabled. More...
 
__STATIC_INLINE void ll_dual_timer_set_counter_mode (dual_timer_regs_t *DUAL_TIMERx, uint32_t counter_mode)
 Set the counter mode. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_get_counter_mode (dual_timer_regs_t *DUAL_TIMERx)
 Get the counter mode. More...
 
__STATIC_INLINE void ll_dual_timer_set_prescaler (dual_timer_regs_t *DUAL_TIMERx, uint32_t prescaler)
 Set the prescaler. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_get_prescaler (dual_timer_regs_t *DUAL_TIMERx)
 Get the prescaler. More...
 
__STATIC_INLINE void ll_dual_timer_set_counter_size (dual_timer_regs_t *DUAL_TIMERx, uint32_t counter_size)
 Set the counter size. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_get_counter_size (dual_timer_regs_t *DUAL_TIMERx)
 Get the counter size. More...
 
__STATIC_INLINE void ll_dual_timer_enable_oneshot (dual_timer_regs_t *DUAL_TIMERx)
 Enable one-shot mode. More...
 
__STATIC_INLINE void ll_dual_timer_disable_oneshot (dual_timer_regs_t *DUAL_TIMERx)
 Disable one-shot mode. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_is_enabled_oneshot (dual_timer_regs_t *DUAL_TIMERx)
 Indicate whether the one-shot mode is enabled. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_get_counter (dual_timer_regs_t *DUAL_TIMERx)
 Get the counter value. More...
 
__STATIC_INLINE void ll_dual_timer_set_auto_reload (dual_timer_regs_t *DUAL_TIMERx, uint32_t auto_reload)
 Set the auto-reload value. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_get_auto_reload (dual_timer_regs_t *DUAL_TIMERx)
 Get the auto-reload value. More...
 
__STATIC_INLINE void ll_dual_timer_set_background_reload (dual_timer_regs_t *DUAL_TIMERx, uint32_t background_reload)
 Set the backgroud-reload value. More...
 
__STATIC_INLINE uint32_t ll_dual_timer_get_background_reload (dual_timer_regs_t *DUAL_TIMERx)
 Get the backgroud-reload value. More...
 

Detailed Description

Function Documentation

◆ ll_dual_timer_disable_counter()

__STATIC_INLINE void ll_dual_timer_disable_counter ( dual_timer_regs_t *  DUAL_TIMERx)

Disable dual_timer counter.

Register|BitsName --------|-------- CTRL | EN

Parameters
DUAL_TIMERxTimer instance
Return values
None

Definition at line 222 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_disable_oneshot()

__STATIC_INLINE void ll_dual_timer_disable_oneshot ( dual_timer_regs_t *  DUAL_TIMERx)

Disable one-shot mode.

Register|BitsName --------|-------- CTRL | ONESHOT

Parameters
DUAL_TIMERxTimer instance
Return values
None

Definition at line 374 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_enable_counter()

__STATIC_INLINE void ll_dual_timer_enable_counter ( dual_timer_regs_t *  DUAL_TIMERx)

Enable dual_timer counter.

Register|BitsName --------|-------- CTRL | EN

Parameters
DUAL_TIMERxTimer instance
Return values
None

Definition at line 207 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_enable_oneshot()

__STATIC_INLINE void ll_dual_timer_enable_oneshot ( dual_timer_regs_t *  DUAL_TIMERx)

Enable one-shot mode.

Register|BitsName --------|-------- CTRL | ONESHOT

Parameters
DUAL_TIMERxTimer instance
Return values
None

Definition at line 359 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_get_auto_reload()

__STATIC_INLINE uint32_t ll_dual_timer_get_auto_reload ( dual_timer_regs_t *  DUAL_TIMERx)

Get the auto-reload value.

Register|BitsName --------|-------- RELOAD | RELOAD

Parameters
DUAL_TIMERxTimer instance
Return values
Auto-reloadvalue

Definition at line 436 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_get_background_reload()

__STATIC_INLINE uint32_t ll_dual_timer_get_background_reload ( dual_timer_regs_t *  DUAL_TIMERx)

Get the backgroud-reload value.

Register|BitsName --------|-------- BG_LOAD | BG_LOAD

Parameters
DUAL_TIMERxTimer instance
Return values
Returnvalue between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 467 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_get_counter()

__STATIC_INLINE uint32_t ll_dual_timer_get_counter ( dual_timer_regs_t *  DUAL_TIMERx)

Get the counter value.

Register|BitsName --------|-------- VALUE | VALUE

Parameters
DUAL_TIMERxTimer instance
Return values
Countervalue (between Min_Data=0 and Max_Data=0xFFFFFFFF)

Definition at line 404 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_get_counter_mode()

__STATIC_INLINE uint32_t ll_dual_timer_get_counter_mode ( dual_timer_regs_t *  DUAL_TIMERx)

Get the counter mode.

Register|BitsName --------|-------- CTRL | MODE

Parameters
DUAL_TIMERxTimer instance
Return values
Returnvalue can be one of the following values:

Definition at line 272 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_get_counter_size()

__STATIC_INLINE uint32_t ll_dual_timer_get_counter_size ( dual_timer_regs_t *  DUAL_TIMERx)

Get the counter size.

Register|BitsName --------|-------- CTRL | SIZE

Parameters
DUAL_TIMERxTimer instance
Return values
Returnvalue can be one of the following values:

Definition at line 344 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_get_prescaler()

__STATIC_INLINE uint32_t ll_dual_timer_get_prescaler ( dual_timer_regs_t *  DUAL_TIMERx)

Get the prescaler.

Register|BitsName --------|-------- CTRL | PRE

Parameters
DUAL_TIMERxTimer instance
Return values
Returnvalue can be one of the following values:

Definition at line 309 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_is_enabled_counter()

__STATIC_INLINE uint32_t ll_dual_timer_is_enabled_counter ( dual_timer_regs_t *  DUAL_TIMERx)

Indicate whether the dual_timer counter is enabled.

Register|BitsName --------|-------- CTRL | EN

Parameters
DUAL_TIMERxTimer instance
Return values
Stateof bit (1 or 0).

Definition at line 237 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_is_enabled_oneshot()

__STATIC_INLINE uint32_t ll_dual_timer_is_enabled_oneshot ( dual_timer_regs_t *  DUAL_TIMERx)

Indicate whether the one-shot mode is enabled.

Register|BitsName --------|-------- CTRL | ONESHOT

Parameters
DUAL_TIMERxTimer instance
Return values
Stateof bit (1 or 0).

Definition at line 389 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_set_auto_reload()

__STATIC_INLINE void ll_dual_timer_set_auto_reload ( dual_timer_regs_t *  DUAL_TIMERx,
uint32_t  auto_reload 
)

Set the auto-reload value.

Note
The counter is blocked while the auto-reload value is null.

Register|BitsName --------|-------- RELOAD | RELOAD

Parameters
DUAL_TIMERxTimer instance
auto_reloadbetween Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 421 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_set_background_reload()

__STATIC_INLINE void ll_dual_timer_set_background_reload ( dual_timer_regs_t *  DUAL_TIMERx,
uint32_t  background_reload 
)

Set the backgroud-reload value.

Register|BitsName --------|-------- BG_LOAD | BG_LOAD

Parameters
DUAL_TIMERxTimer instance
background_reloadbetween Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 452 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_set_counter_mode()

__STATIC_INLINE void ll_dual_timer_set_counter_mode ( dual_timer_regs_t *  DUAL_TIMERx,
uint32_t  counter_mode 
)

Set the counter mode.

Register|BitsName --------|-------- CTRL | MODE

Parameters
DUAL_TIMERxTimer instance
counter_modeThis parameter can be one of the following values:
Return values
None

Definition at line 255 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_set_counter_size()

__STATIC_INLINE void ll_dual_timer_set_counter_size ( dual_timer_regs_t *  DUAL_TIMERx,
uint32_t  counter_size 
)

Set the counter size.

Register|BitsName --------|-------- CTRL | SIZE

Parameters
DUAL_TIMERxTimer instance
counter_sizeThis parameter can be one of the following values:
Return values
None

Definition at line 327 of file gr55xx_ll_dual_tim.h.

◆ ll_dual_timer_set_prescaler()

__STATIC_INLINE void ll_dual_timer_set_prescaler ( dual_timer_regs_t *  DUAL_TIMERx,
uint32_t  prescaler 
)

Set the prescaler.

Register|BitsName --------|-------- CTRL | PRE

Parameters
DUAL_TIMERxTimer instance
prescalerThis parameter can be one of the following values:
Return values
None

Definition at line 291 of file gr55xx_ll_dual_tim.h.