@@ -57,52 +57,56 @@ extern "C"
5757
5858#define SX9500_RESET_CMD 0xDE
5959
60- uint8_t SX9500Init ( void );
60+ LmnStatus_t SX9500Init ( void );
6161
6262/*!
6363 * \brief Resets the device
6464 *
65- * \retval status [OK, ERROR, UNSUPPORTED ]
65+ * \retval status [LMN_STATUS_OK, LMN_STATUS_ERROR ]
6666 */
67- uint8_t SX9500Reset ( void );
67+ LmnStatus_t SX9500Reset ( void );
6868
6969/*!
7070 * \brief Writes a byte at specified address in the device
7171 *
7272 * \param [IN]: addr
7373 * \param [IN]: data
74- * \retval status [OK, ERROR, UNSUPPORTED]
74+ *
75+ * \retval status [LMN_STATUS_OK, LMN_STATUS_ERROR]
7576 */
76- uint8_t SX9500Write ( uint8_t addr , uint8_t data );
77+ LmnStatus_t SX9500Write ( uint8_t addr , uint8_t data );
7778
7879/*!
7980 * \brief Writes a buffer at specified address in the device
8081 *
8182 * \param [IN]: addr
8283 * \param [IN]: data
8384 * \param [IN]: size
84- * \retval status [OK, ERROR, UNSUPPORTED]
85+ *
86+ * \retval status [LMN_STATUS_OK, LMN_STATUS_ERROR]
8587 */
86- uint8_t SX9500WriteBuffer ( uint8_t addr , uint8_t * data , uint8_t size );
88+ LmnStatus_t SX9500WriteBuffer ( uint8_t addr , uint8_t * data , uint8_t size );
8789
8890/*!
8991 * \brief Reads a byte at specified address in the device
9092 *
9193 * \param [IN]: addr
9294 * \param [OUT]: data
93- * \retval status [OK, ERROR, UNSUPPORTED]
95+ *
96+ * \retval status [LMN_STATUS_OK, LMN_STATUS_ERROR]
9497 */
95- uint8_t SX9500Read ( uint8_t addr , uint8_t * data );
98+ LmnStatus_t SX9500Read ( uint8_t addr , uint8_t * data );
9699
97100/*!
98101 * \brief Reads a buffer at specified address in the device
99102 *
100103 * \param [IN]: addr
101104 * \param [OUT]: data
102105 * \param [IN]: size
103- * \retval status [OK, ERROR, UNSUPPORTED]
106+ *
107+ * \retval status [LMN_STATUS_OK, LMN_STATUS_ERROR]
104108 */
105- uint8_t SX9500ReadBuffer ( uint8_t addr , uint8_t * data , uint8_t size );
109+ LmnStatus_t SX9500ReadBuffer ( uint8_t addr , uint8_t * data , uint8_t size );
106110
107111/*!
108112 * \brief Sets the I2C device slave address
0 commit comments