This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR6989 MSPWare Timer length bug

Hi, guys!

I've noticed a bug in the file "timer_b.h". In it the following lines

#define TIMER_B_COUNTER_16BIT                                            CNTL_3
#define TIMER_B_COUNTER_12BIT                                            CNTL_2
#define TIMER_B_COUNTER_10BIT                                            CNTL_1
#define TIMER_B_COUNTER_8BIT                                             CNTL_0


are inverted. They should be (I believe)

#define TIMER_B_COUNTER_16BIT                                            CNTL_0
#define TIMER_B_COUNTER_12BIT                                            CNTL_1
#define TIMER_B_COUNTER_10BIT                                            CNTL_2
#define TIMER_B_COUNTER_8BIT                                             CNTL_3

This thing affects the API Timer_B_selectCounterLength( );

Cheers,

L. B.

**Attention** This is a public forum