mikroSDK Reference Manual

Topics

 PWM Register Masks
 

Data Structures

struct  PWM_Type
 

Macros

#define PWM0_BASE   (0x40033000u)
 
#define PWM0   ((PWM_Type *)PWM0_BASE)
 
#define PWM1_BASE   (0x400B3000u)
 
#define PWM1   ((PWM_Type *)PWM1_BASE)
 
#define PWM_BASE_ADDRS   { PWM0_BASE, PWM1_BASE }
 
#define PWM_BASE_PTRS   { PWM0, PWM1 }
 
#define PWM_CMP_IRQS   { { PWM0_CMP0_IRQn, PWM0_CMP1_IRQn, PWM0_CMP2_IRQn, PWM0_CMP3_IRQn }, { PWM1_CMP0_IRQn, PWM1_CMP1_IRQn, PWM1_CMP2_IRQn, PWM1_CMP3_IRQn } }
 
#define PWM_RELOAD_IRQS   { { PWM0_RELOAD0_IRQn, PWM0_RELOAD1_IRQn, PWM0_RELOAD2_IRQn, PWM0_RELOAD3_IRQn }, { PWM1_RELOAD0_IRQn, PWM1_RELOAD1_IRQn, PWM1_RELOAD2_IRQn, PWM1_RELOAD3_IRQn } }
 
#define PWM_CAP_IRQS   { PWM0_CAP_IRQn, PWM1_CAP_IRQn }
 
#define PWM_RERR_IRQS   { PWM0_RERR_IRQn, PWM1_RERR_IRQn }
 
#define PWM_FAULT_IRQS   { PWM0_FAULT_IRQn, PWM1_FAULT_IRQn }
 

Macro Definition Documentation

◆ PWM0

#define PWM0   ((PWM_Type *)PWM0_BASE)

Peripheral PWM0 base pointer

◆ PWM0_BASE

#define PWM0_BASE   (0x40033000u)

Peripheral PWM0 base address

◆ PWM1

#define PWM1   ((PWM_Type *)PWM1_BASE)

Peripheral PWM1 base pointer

◆ PWM1_BASE

#define PWM1_BASE   (0x400B3000u)

Peripheral PWM1 base address

◆ PWM_BASE_ADDRS

#define PWM_BASE_ADDRS   { PWM0_BASE, PWM1_BASE }

Array initializer of PWM peripheral base addresses

◆ PWM_BASE_PTRS

#define PWM_BASE_PTRS   { PWM0, PWM1 }

Array initializer of PWM peripheral base pointers

◆ PWM_CMP_IRQS

Interrupt vectors for the PWM peripheral type