Motor Evaluation Kit NEVC-MCTRL-100-t01-1.0.0
Firmware for NEVB-MCTRL-100-01 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 782 of file main.h.

◆ DT_PRESCALER_DIV_2

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

Deadtime generator pre-scaler - division factor 2.

Definition at line 784 of file main.h.

◆ DT_PRESCALER_DIV_4

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

Deadtime generator pre-scaler - division factor 4.

Definition at line 786 of file main.h.

◆ DT_PRESCALER_DIV_8

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

Deadtime generator pre-scaler - division factor 8.

Definition at line 788 of file main.h.