G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference

Functions

void DDL_LPTMR_StructInit (DDL_LPTMR_InitTypeDef *LPTMR_InitStruct)
 Set the fields of the time base unit configuration data structure to their default values.
ErrorStatus DDL_LPTMR_DeInit (LPTMR_TypeDef *LPTMRx)
 Set LPTMRx registers to their reset values.
ErrorStatus DDL_LPTMR_Init (LPTMR_TypeDef *LPTMRx, DDL_LPTMR_InitTypeDef *LPTMR_InitStruct)
 Configure the LPTMRx time base unit.

Detailed Description

Function Documentation

◆ DDL_LPTMR_DeInit()

ErrorStatus DDL_LPTMR_DeInit ( LPTMR_TypeDef * LPTMRx)

Set LPTMRx registers to their reset values.

Parameters
LPTMRxTimer Instance
Return values
AnErrorStatus enumeration value:
  • SUCCESS: LPTMRx registers are de-initialized
  • ERROR: invalid LPTMRx instance

Definition at line 99 of file g32r4xx_ddl_lptmr.c.

◆ DDL_LPTMR_Init()

ErrorStatus DDL_LPTMR_Init ( LPTMR_TypeDef * LPTMRx,
DDL_LPTMR_InitTypeDef * LPTMR_InitStruct )

Configure the LPTMRx time base unit.

Parameters
LPTMRxTimer Instance
LPTMR_InitStructpointer to a DDL_LPTMR_InitTypeDef structure (LPTMRx time base unit configuration data structure)
Return values
AnErrorStatus enumeration value:
  • SUCCESS: LPTMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 119 of file g32r4xx_ddl_lptmr.c.

◆ DDL_LPTMR_StructInit()

void DDL_LPTMR_StructInit ( DDL_LPTMR_InitTypeDef * LPTMR_InitStruct)

Set the fields of the time base unit configuration data structure to their default values.

Parameters
LPTMR_InitStructpointer to a DDL_LPTMR_InitTypeDef structure (time base unit configuration data structure)
Return values
None

Definition at line 85 of file g32r4xx_ddl_lptmr.c.