summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-19 19:24:09 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-19 19:24:09 +0000
commitc5ba205781809f0a9124a1bd04d78c411f536ebf (patch)
tree0191fde92a5c4dcd55a24b2aa760fa4c88713242 /nuttx/include
parent634e46a77bcce80bc04ad44f5efeec0ca273993a (diff)
downloadpx4-nuttx-c5ba205781809f0a9124a1bd04d78c411f536ebf.tar.gz
px4-nuttx-c5ba205781809f0a9124a1bd04d78c411f536ebf.tar.bz2
px4-nuttx-c5ba205781809f0a9124a1bd04d78c411f536ebf.zip
Completes coding of the PWM module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4200 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/pwm.h6
1 files changed, 3 insertions, 3 deletions
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