Motor Driver Evaluation Kit NEVB-MTR1-t01-1.0.0
Firmware for NEVB-MTR1-KIT1 for trapezoidal control of BLDC motors using Hall-effect sensors
Loading...
Searching...
No Matches

Deadtime generator pre-scaler selection bits (DTPS41:0) in TCCR4B. More...

Collaboration diagram for Deadtime Pre-scaler Macros:

Macros

#define DT_PRESCALER_DIV_1   ((0 << DTPS41) | (0 << DTPS40))
 Deadtime generator pre-scaler - division factor 1.
 
#define DT_PRESCALER_DIV_2   ((0 << DTPS41) | (1 << DTPS40))
 Deadtime generator pre-scaler - division factor 2.
 
#define DT_PRESCALER_DIV_4   ((1 << DTPS41) | (0 << DTPS40))
 Deadtime generator pre-scaler - division factor 4.
 
#define DT_PRESCALER_DIV_8   ((1 << DTPS41) | (1 << DTPS40))
 Deadtime generator pre-scaler - division factor 8.
 

Detailed Description

Deadtime generator pre-scaler selection bits (DTPS41:0) in TCCR4B.

Macro Definition Documentation

◆ DT_PRESCALER_DIV_1

#define DT_PRESCALER_DIV_1   ((0 << DTPS41) | (0 << DTPS40))

Deadtime generator pre-scaler - division factor 1.

Definition at line 848 of file config.h.

◆ DT_PRESCALER_DIV_2

#define DT_PRESCALER_DIV_2   ((0 << DTPS41) | (1 << DTPS40))

Deadtime generator pre-scaler - division factor 2.

Definition at line 850 of file config.h.

◆ DT_PRESCALER_DIV_4

#define DT_PRESCALER_DIV_4   ((1 << DTPS41) | (0 << DTPS40))

Deadtime generator pre-scaler - division factor 4.

Definition at line 852 of file config.h.

◆ DT_PRESCALER_DIV_8

#define DT_PRESCALER_DIV_8   ((1 << DTPS41) | (1 << DTPS40))

Deadtime generator pre-scaler - division factor 8.

Definition at line 854 of file config.h.