Skip to content

Commit

Permalink
Merge pull request #8234 from TomoYamanaka/modify_LPTicker
Browse files Browse the repository at this point in the history
Renesas : Modify LPTicker driver
  • Loading branch information
Cruz Monrreal committed Oct 12, 2018
2 parents 61a626c + b01cdcb commit 285de88
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,11 @@ const PinMap PinMap_PWM[] = {
{P7_9 , PWM_TIOC1A, 6},
{P9_2 , PWM_TIOC1A, 5}, /* for 208QFP */
{P2_7 , PWM_TIOC1A, 3},
{P5_14 , PWM_TIOC2A, 4},
{P7_0 , PWM_TIOC2A, 5},
{P9_4 , PWM_TIOC2A, 5}, /* for 208QFP */
{P2_6 , PWM_TIOC2A, 3},
{P6_7 , PWM_TIOC3A, 5},
{P2_5 , PWM_TIOC3A, 3},
{P3_11 , PWM_TIOC3A, 3},
{P6_9 , PWM_TIOC3C, 5},
{P3_12 , PWM_TIOC3C, 3},
{P5_8 , PWM_TIOC4A, 3},
{P2_4 , PWM_TIOC4A, 3},
{P5_10 , PWM_TIOC4C, 3},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ uint32_t OS_Tick_GetOverflow (void)

// Get Cortex-A9 OS Timer interrupt number
IRQn_ID_t mbed_get_a9_tick_irqn(){
return OSTMI0TINT_IRQn;
return OSTM_IRQn;
}
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#define RENESAS_RZ_A1_P0_CLK CM1_RENESAS_RZ_A1_P0_CLK

#define LP_TICKER_MTU2_CH 3
#define LP_TICKER_MTU2_CH 2

/* flash (W25Q64JV) */
#define FLASH_BASE (0x18000000UL) /**< Flash Base Address */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ uint32_t OS_Tick_GetOverflow (void)

// Get Cortex-A9 OS Timer interrupt number
IRQn_ID_t mbed_get_a9_tick_irqn(){
return OSTMI0TINT_IRQn;
return OSTM_IRQn;
}
#endif

0 comments on commit 285de88

Please sign in to comment.