From c5ba205781809f0a9124a1bd04d78c411f536ebf Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Dec 2011 19:24:09 +0000 Subject: Completes coding of the PWM module git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4200 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/nuttx/pwm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nuttx/include') diff --git a/nuttx/include/nuttx/pwm.h b/nuttx/include/nuttx/pwm.h index 2e954d2fc..4cf695b1d 100644 --- a/nuttx/include/nuttx/pwm.h +++ b/nuttx/include/nuttx/pwm.h @@ -115,7 +115,7 @@ struct pwm_info_s { uint32_t frequency; /* Frequency of the pulse train */ - b16_t duty; /* Duty of the pulse train, "1" to "0" duration */ + ub16_t duty; /* Duty of the pulse train, "1" to "0" duration */ }; /* This type is used to return pulse counts */ @@ -211,7 +211,7 @@ extern "C" { #endif /**************************************************************************** - * "Upper-Half" ADC Driver Interfaces + * "Upper-Half" PWM Driver Interfaces ****************************************************************************/ /**************************************************************************** * Name: pwm_register @@ -241,7 +241,7 @@ extern "C" { int pwm_register(FAR const char *path, FAR struct pwm_lowerhalf_s *dev); /**************************************************************************** - * Platform-Independent "Lower-Half" ADC Driver Interfaces + * Platform-Independent "Lower-Half" PWM Driver Interfaces ****************************************************************************/ #undef EXTERN -- cgit v1.2.3