@@ -775,12 +775,13 @@ int32_t lis2mdl_device_id_get(const stmdev_ctx_t *ctx, uint8_t *buff)
775775/**
776776 * @brief Software reset. Restore the default values in user registers.[set]
777777 *
778+ * Deprecated: Please use sw_reset to align with the AN
779+ *
778780 * @param ctx read / write interface definitions.(ptr)
779781 * @param val change the values of soft_rst in reg CFG_REG_A
780782 * @retval interface status.(MANDATORY: return 0 -> no Error)
781783 *
782784 */
783- [[deprecated ("Please use sw_reset to align with the AN" )]]
784785int32_t lis2mdl_reset_set (const stmdev_ctx_t * ctx , uint8_t val )
785786{
786787 lis2mdl_cfg_reg_a_t reg ;
@@ -800,12 +801,13 @@ int32_t lis2mdl_reset_set(const stmdev_ctx_t *ctx, uint8_t val)
800801/**
801802 * @brief Software reset. Restore the default values in user registers.[get]
802803 *
804+ * Deprecated: Please use sw_reset to align with the AN
805+ *
803806 * @param ctx read / write interface definitions.(ptr)
804807 * @param val change the values of soft_rst in reg CFG_REG_A.(ptr)
805808 * @retval interface status.(MANDATORY: return 0 -> no Error)
806809 *
807810 */
808- [[deprecated ("Please use sw_reset to align with the AN" )]]
809811int32_t lis2mdl_reset_get (const stmdev_ctx_t * ctx , uint8_t * val )
810812{
811813 lis2mdl_cfg_reg_a_t reg ;
@@ -823,12 +825,13 @@ int32_t lis2mdl_reset_get(const stmdev_ctx_t *ctx, uint8_t *val)
823825/**
824826 * @brief Reboot memory content. Reload the calibration parameters.[set]
825827 *
828+ * Deprecated: please use reboot to align with the AN
829+ *
826830 * @param ctx read / write interface definitions.(ptr)
827831 * @param val change the values of reboot in reg CFG_REG_A
828832 * @retval interface status.(MANDATORY: return 0 -> no Error)
829833 *
830834 */
831- [[deprecated ("Please use reboot to align with the AN" )]]
832835int32_t lis2mdl_boot_set (const stmdev_ctx_t * ctx , uint8_t val )
833836{
834837 lis2mdl_cfg_reg_a_t reg ;
@@ -848,12 +851,13 @@ int32_t lis2mdl_boot_set(const stmdev_ctx_t *ctx, uint8_t val)
848851/**
849852 * @brief Reboot memory content. Reload the calibration parameters.[get]
850853 *
854+ * Deprecated: please use reboot to align with the AN
855+ *
851856 * @param ctx read / write interface definitions.(ptr)
852857 * @param val change the values of reboot in reg CFG_REG_A.(ptr)
853858 * @retval interface status.(MANDATORY: return 0 -> no Error)
854859 *
855860 */
856- [[deprecated ("Please use reboot to align with the AN" )]]
857861int32_t lis2mdl_boot_get (const stmdev_ctx_t * ctx , uint8_t * val )
858862{
859863 lis2mdl_cfg_reg_a_t reg ;
0 commit comments