G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
TMR Private Functions

Private functions. More...

Functions

static ErrorStatus OC1Config (TMR_TypeDef *TMRx, DDL_TMR_OC_InitTypeDef *TMR_OCInitStruct)
 Configure the TMRx output channel 1.
static ErrorStatus OC2Config (TMR_TypeDef *TMRx, DDL_TMR_OC_InitTypeDef *TMR_OCInitStruct)
 Configure the TMRx output channel 2.
static ErrorStatus OC3Config (TMR_TypeDef *TMRx, DDL_TMR_OC_InitTypeDef *TMR_OCInitStruct)
 Configure the TMRx output channel 3.
static ErrorStatus OC4Config (TMR_TypeDef *TMRx, DDL_TMR_OC_InitTypeDef *TMR_OCInitStruct)
 Configure the TMRx output channel 4.
static ErrorStatus IC1Config (TMR_TypeDef *TMRx, DDL_TMR_IC_InitTypeDef *TMR_ICInitStruct)
 Configure the TMRx input channel 1.
static ErrorStatus IC2Config (TMR_TypeDef *TMRx, DDL_TMR_IC_InitTypeDef *TMR_ICInitStruct)
 Configure the TMRx input channel 2.
static ErrorStatus IC3Config (TMR_TypeDef *TMRx, DDL_TMR_IC_InitTypeDef *TMR_ICInitStruct)
 Configure the TMRx input channel 3.
static ErrorStatus IC4Config (TMR_TypeDef *TMRx, DDL_TMR_IC_InitTypeDef *TMR_ICInitStruct)
 Configure the TMRx input channel 4.

Detailed Description

Private functions.

Function Documentation

◆ IC1Config()

ErrorStatus IC1Config ( TMR_TypeDef * TMRx,
DDL_TMR_IC_InitTypeDef * TMR_ICInitStruct )
static

Configure the TMRx input channel 1.

Parameters
TMRxTimer Instance
TMR_ICInitStructpointer to the the TMRx input channel 1 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 1007 of file g32r4xx_ddl_tmr.c.

◆ IC2Config()

ErrorStatus IC2Config ( TMR_TypeDef * TMRx,
DDL_TMR_IC_InitTypeDef * TMR_ICInitStruct )
static

Configure the TMRx input channel 2.

Parameters
TMRxTimer Instance
TMR_ICInitStructpointer to the the TMRx input channel 2 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 1040 of file g32r4xx_ddl_tmr.c.

◆ IC3Config()

ErrorStatus IC3Config ( TMR_TypeDef * TMRx,
DDL_TMR_IC_InitTypeDef * TMR_ICInitStruct )
static

Configure the TMRx input channel 3.

Parameters
TMRxTimer Instance
TMR_ICInitStructpointer to the the TMRx input channel 3 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 1073 of file g32r4xx_ddl_tmr.c.

◆ IC4Config()

ErrorStatus IC4Config ( TMR_TypeDef * TMRx,
DDL_TMR_IC_InitTypeDef * TMR_ICInitStruct )
static

Configure the TMRx input channel 4.

Parameters
TMRxTimer Instance
TMR_ICInitStructpointer to the the TMRx input channel 4 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 1106 of file g32r4xx_ddl_tmr.c.

◆ OC1Config()

ErrorStatus OC1Config ( TMR_TypeDef * TMRx,
DDL_TMR_OC_InitTypeDef * TMR_OCInitStruct )
static

Configure the TMRx output channel 1.

Parameters
TMRxTimer Instance
TMR_OCInitStructpointer to the the TMRx output channel 1 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 699 of file g32r4xx_ddl_tmr.c.

◆ OC2Config()

ErrorStatus OC2Config ( TMR_TypeDef * TMRx,
DDL_TMR_OC_InitTypeDef * TMR_OCInitStruct )
static

Configure the TMRx output channel 2.

Parameters
TMRxTimer Instance
TMR_OCInitStructpointer to the the TMRx output channel 2 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 778 of file g32r4xx_ddl_tmr.c.

◆ OC3Config()

ErrorStatus OC3Config ( TMR_TypeDef * TMRx,
DDL_TMR_OC_InitTypeDef * TMR_OCInitStruct )
static

Configure the TMRx output channel 3.

Parameters
TMRxTimer Instance
TMR_OCInitStructpointer to the the TMRx output channel 3 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 857 of file g32r4xx_ddl_tmr.c.

◆ OC4Config()

ErrorStatus OC4Config ( TMR_TypeDef * TMRx,
DDL_TMR_OC_InitTypeDef * TMR_OCInitStruct )
static

Configure the TMRx output channel 4.

Parameters
TMRxTimer Instance
TMR_OCInitStructpointer to the the TMRx output channel 4 configuration data structure
Return values
AnErrorStatus enumeration value:
  • SUCCESS: TMRx registers are de-initialized
  • ERROR: not applicable

Definition at line 936 of file g32r4xx_ddl_tmr.c.