VSF Documented
Data Structures | Macros | Typedefs
i_reg_pwm.h File Reference
#include "./utilities/compiler/__common/__type.h"

Go to the source code of this file.

Data Structures

struct  __TMR_REG_T
 
struct  __PWM_REG_T
 
struct  PWM_REG_T
 

Macros

#define __AIC8800_PWM_USE_BIT_FIELD   DISABLED
 
#define __IM   const
 
#define __OM
 
#define __IOM
 
#define PWM_TMR_MODE   0 /* 0x00000001 */
 
#define PWM_TMR_MODE_MASK   ((reg32_t)(0x1 << PWM_TMR_MODE))
 
#define PWM_TMR_RUN   1 /* 0x00000002 */
 
#define PWM_TMR_RUN_MASK   ((reg32_t)(0x1 << PWM_TMR_RUN))
 
#define PWM_TMR_INT_EN   0 /* 0x00000001 */
 
#define PWM_TMR_INT_EN_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_EN))
 
#define PWM_TMR_INT_RAW   1 /* 0x00000002 */
 
#define PWM_TMR_INT_RAW_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_RAW))
 
#define PWM_TMR_INT_STATUS   2 /* 0x00000004 */
 
#define PWM_TMR_INT_STATUS_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_STATUS))
 
#define PWM_TMR_INT_CLR   3 /* 0x00000008 */
 
#define PWM_TMR_INT_CLR_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_CLR))
 
#define PWM_PWM_RUN   0
 
#define PWM_PWM_RUN_MASK   ((reg32_t)(0x1 << PWM_PWM_RUN))
 
#define PWM_PWM_INC_MODE   1
 
#define PWM_PWM_INC_MODE_MASK   ((reg32_t)(0x1 << PWM_PWM_INC_MODE))
 
#define PWM_PWM_DEFAULT_VAL   2
 
#define PWM_PWM_DEFAULT_VAL_MASK   ((reg32_t)(0x1 << PWM_PWM_DEFAULT_VAL))
 
#define PWM_PWM_UPDATE   31
 
#define PWM_PWM_UPDATE_MASK   ((reg32_t)(0x1 << PWM_PWM_UPDATE))
 
#define DEF_PWM_REG(__NAME, __TOTAL_SIZE, ...)
 

Typedefs

typedef struct __TMR_REG_T __TMR_REG_T
 
typedef struct __PWM_REG_T __PWM_REG_T
 
typedef struct PWM_REG_T PWM_REG_T
 

Macro Definition Documentation

◆ __AIC8800_PWM_USE_BIT_FIELD

#define __AIC8800_PWM_USE_BIT_FIELD   DISABLED
Note
i_reg_xxxx.h header files must be standalong and assume following ! conditions: ! a. stdint.h exists ! b. anonymous structures and unions are supported

◆ __IM

#define __IM   const

◆ __OM

#define __OM

◆ __IOM

#define __IOM

◆ PWM_TMR_MODE

#define PWM_TMR_MODE   0 /* 0x00000001 */

◆ PWM_TMR_MODE_MASK

#define PWM_TMR_MODE_MASK   ((reg32_t)(0x1 << PWM_TMR_MODE))

◆ PWM_TMR_RUN

#define PWM_TMR_RUN   1 /* 0x00000002 */

◆ PWM_TMR_RUN_MASK

#define PWM_TMR_RUN_MASK   ((reg32_t)(0x1 << PWM_TMR_RUN))

◆ PWM_TMR_INT_EN

#define PWM_TMR_INT_EN   0 /* 0x00000001 */

◆ PWM_TMR_INT_EN_MASK

#define PWM_TMR_INT_EN_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_EN))

◆ PWM_TMR_INT_RAW

#define PWM_TMR_INT_RAW   1 /* 0x00000002 */

◆ PWM_TMR_INT_RAW_MASK

#define PWM_TMR_INT_RAW_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_RAW))

◆ PWM_TMR_INT_STATUS

#define PWM_TMR_INT_STATUS   2 /* 0x00000004 */

◆ PWM_TMR_INT_STATUS_MASK

#define PWM_TMR_INT_STATUS_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_STATUS))

◆ PWM_TMR_INT_CLR

#define PWM_TMR_INT_CLR   3 /* 0x00000008 */

◆ PWM_TMR_INT_CLR_MASK

#define PWM_TMR_INT_CLR_MASK   ((reg32_t)(0x1 << PWM_TMR_INT_CLR))

◆ PWM_PWM_RUN

#define PWM_PWM_RUN   0

◆ PWM_PWM_RUN_MASK

#define PWM_PWM_RUN_MASK   ((reg32_t)(0x1 << PWM_PWM_RUN))

◆ PWM_PWM_INC_MODE

#define PWM_PWM_INC_MODE   1

◆ PWM_PWM_INC_MODE_MASK

#define PWM_PWM_INC_MODE_MASK   ((reg32_t)(0x1 << PWM_PWM_INC_MODE))

◆ PWM_PWM_DEFAULT_VAL

#define PWM_PWM_DEFAULT_VAL   2

◆ PWM_PWM_DEFAULT_VAL_MASK

#define PWM_PWM_DEFAULT_VAL_MASK   ((reg32_t)(0x1 << PWM_PWM_DEFAULT_VAL))

◆ PWM_PWM_UPDATE

#define PWM_PWM_UPDATE   31

◆ PWM_PWM_UPDATE_MASK

#define PWM_PWM_UPDATE_MASK   ((reg32_t)(0x1 << PWM_PWM_UPDATE))

◆ DEF_PWM_REG

#define DEF_PWM_REG (   __NAME,
  __TOTAL_SIZE,
  ... 
)
Value:
union { \
reg##__TOTAL_SIZE##_t VALUE; \
struct { \
__VA_ARGS__ \
}; \
} __NAME
class vsf_$ * reg

Typedef Documentation

◆ __TMR_REG_T

typedef struct __TMR_REG_T __TMR_REG_T

◆ __PWM_REG_T

typedef struct __PWM_REG_T __PWM_REG_T

◆ PWM_REG_T

typedef struct PWM_REG_T PWM_REG_T