renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
197 stars 82 forks source link

R_GPT module: error in compare match register definition #378

Open aracosta1 opened 1 week ago

aracosta1 commented 1 week ago

ISSUE: The definition of TIMER_COMPARE_MATCH_D end TIMER_COMPARE_MATCH_E are defined in wrong order

In r_timer_api.h are defined as:

typedef enum e_timer_compare_match
{
    TIMER_COMPARE_MATCH_A = 0U,        ///< Compare match A value
    TIMER_COMPARE_MATCH_B = 1U,        ///< Compare match B value
    TIMER_COMPARE_MATCH_C = 2U,        ///< Compare match C value
    TIMER_COMPARE_MATCH_D = 3U,        ///< Compare match D value
    TIMER_COMPARE_MATCH_E = 4U,        ///< Compare match E value
    TIMER_COMPARE_MATCH_F = 5U,        ///< Compare match F value
    TIMER_COMPARE_MATCH_G = 6U,        ///< Compare match G value
    TIMER_COMPARE_MATCH_H = 7U,        ///< Compare match H value
} timer_compare_match_t;

but in the manual the registers are defined as image

renesas-austin-hansen commented 1 week ago

This issue is being internally tracked via FSPRA-3998.