mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 22:55:02 +08:00
1wire DS2XXX: add 1wire and DS2XXX documentation
Also fix some minor issues in the DS2XXX header file. Signed-off-by: Stepan Pressl <pressl.stepan@gmail.com>
This commit is contained in:
committed by
Alan C. Assis
parent
07a470f696
commit
4f7fc3dd04
@@ -23,8 +23,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_EEPROM_1WIRE_DS2XXX_H
|
||||
#define __INCLUDE_NUTTX_EEPROM_1WIRE_DS2XXX_H
|
||||
#ifndef __INCLUDE_NUTTX_1WIRE_1WIRE_DS2XXX_H
|
||||
#define __INCLUDE_NUTTX_1WIRE_1WIRE_DS2XXX_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -76,7 +76,7 @@ enum ds2xxx_eeproms_e
|
||||
/****************************************************************************
|
||||
* Name: ds2xxx_initialize
|
||||
*
|
||||
* Description: Bind a onewire_master_s struct to this driver,
|
||||
* Description: Bind a onewire_dev_s struct to this driver,
|
||||
* capable of interfacing DS2XXX 1Wire EEPROMs. The user must specify
|
||||
* the device type and also the name of the device (e.g. /dev/ds2xxx).
|
||||
*
|
||||
@@ -85,4 +85,4 @@ enum ds2xxx_eeproms_e
|
||||
int ds2xxx_initialize(FAR struct onewire_dev_s *dev,
|
||||
enum ds2xxx_eeproms_e devtype, FAR char *devname);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_EEPROM_1WIRE_DS2XXX_H */
|
||||
#endif /* __INCLUDE_NUTTX_1WIRE_1WIRE_DS2XXX_H */
|
||||
|
||||
Reference in New Issue
Block a user