Fix types in STM32 PWM driver comments

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4540 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-03-29 23:14:29 +00:00
parent 9ca4708eac
commit af7e32e25c

View File

@ -756,7 +756,7 @@ static int pwm_timer(FAR struct stm32_pwmtimer_s *priv,
ccenable = ATIM_CCER_CC1E; ccenable = ATIM_CCER_CC1E;
/* Set the CCRMR1 mode values (leave CCRMR2 zero) */ /* Set the CCMR1 mode values (leave CCMR2 zero) */
ocmode1 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR1_CC1S_SHIFT) | ocmode1 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR1_CC1S_SHIFT) |
(ATIM_CCMR_MODE_PWM1 << ATIM_CCMR1_OC1M_SHIFT) | (ATIM_CCMR_MODE_PWM1 << ATIM_CCMR1_OC1M_SHIFT) |
@ -774,7 +774,7 @@ static int pwm_timer(FAR struct stm32_pwmtimer_s *priv,
ccenable = ATIM_CCER_CC2E; ccenable = ATIM_CCER_CC2E;
/* Set the CCRMR1 mode values (leave CCRMR2 zero) */ /* Set the CCMR1 mode values (leave CCMR2 zero) */
ocmode1 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR1_CC2S_SHIFT) | ocmode1 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR1_CC2S_SHIFT) |
(ATIM_CCMR_MODE_PWM1 << ATIM_CCMR1_OC2M_SHIFT) | (ATIM_CCMR_MODE_PWM1 << ATIM_CCMR1_OC2M_SHIFT) |
@ -792,7 +792,7 @@ static int pwm_timer(FAR struct stm32_pwmtimer_s *priv,
ccenable = ATIM_CCER_CC3E; ccenable = ATIM_CCER_CC3E;
/* Set the CCRMR2 mode values (leave CCRMR1 zero) */ /* Set the CCMR2 mode values (leave CCMR1 zero) */
ocmode2 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR2_CC3S_SHIFT) | ocmode2 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR2_CC3S_SHIFT) |
(ATIM_CCMR_MODE_PWM1 << ATIM_CCMR2_OC3M_SHIFT) | (ATIM_CCMR_MODE_PWM1 << ATIM_CCMR2_OC3M_SHIFT) |
@ -810,7 +810,7 @@ static int pwm_timer(FAR struct stm32_pwmtimer_s *priv,
ccenable = ATIM_CCER_CC4E; ccenable = ATIM_CCER_CC4E;
/* Set the CCRMR2 mode values (leave CCRMR1 zero) */ /* Set the CCMR2 mode values (leave CCMR1 zero) */
ocmode2 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR2_CC4S_SHIFT) | ocmode2 = (ATIM_CCMR_CCS_CCOUT << ATIM_CCMR2_CC4S_SHIFT) |
(ATIM_CCMR_MODE_PWM1 << ATIM_CCMR2_OC4M_SHIFT) | (ATIM_CCMR_MODE_PWM1 << ATIM_CCMR2_OC4M_SHIFT) |