Lines Matching full:axis

51 	uint8_t axis;  member
77 int16_t x_sample; /** measured B-field @x-axis */
78 int16_t y_sample; /** measured B-field @y-axis */
79 int16_t z_sample; /** measured B-field @z-axis */
82 uint16_t xyz_range; /** magnetic range for x/y/z-axis in mT */
236 * @brief update the measurement range of the X/Y/Z-axis
276 * @brief returns the used measurement range of the X/Y/Z-axis
330 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_X) || in tmag5273_attr_set_xyz_calc()
331 !(drv_cfg->axis & TMAG5273_MAG_CH_EN_Y)) { in tmag5273_attr_set_xyz_calc()
337 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_Y) || in tmag5273_attr_set_xyz_calc()
338 !(drv_cfg->axis & TMAG5273_MAG_CH_EN_Z)) { in tmag5273_attr_set_xyz_calc()
344 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_X) || in tmag5273_attr_set_xyz_calc()
345 !(drv_cfg->axis & TMAG5273_MAG_CH_EN_Z)) { in tmag5273_attr_set_xyz_calc()
572 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_X)) { in tmag5273_sample_fetch()
573 LOG_ERR("x-axis measurement deactivated"); in tmag5273_sample_fetch()
580 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_Y)) { in tmag5273_sample_fetch()
581 LOG_ERR("y-axis measurement deactivated"); in tmag5273_sample_fetch()
588 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_Z)) { in tmag5273_sample_fetch()
589 LOG_ERR("x-axis measurement deactivated"); in tmag5273_sample_fetch()
596 if (drv_cfg->axis == TMAG5273_MAG_CH_EN_NONE) { in tmag5273_sample_fetch()
597 LOG_ERR("xyz-axis measurement deactivated"); in tmag5273_sample_fetch()
613 LOG_ERR("axis measurement deactivated"); in tmag5273_sample_fetch()
622 LOG_ERR("axis measurement deactivated"); in tmag5273_sample_fetch()
629 LOG_ERR("axis measurement deactivated"); in tmag5273_sample_fetch()
761 * @param[in] range magnetic range of the selected axis (in mT)
798 * @brief calculates the angle value between two axis
810 * @brief calculates the magnitude value in G between two axis
839 if ((drv_cfg->axis & TMAG5273_MAG_CH_EN_X) && in tmag5273_channel_get()
846 if ((drv_cfg->axis & TMAG5273_MAG_CH_EN_Y) && in tmag5273_channel_get()
853 if ((drv_cfg->axis & TMAG5273_MAG_CH_EN_Z) && in tmag5273_channel_get()
1228 .mag_channel = DT_INST_PROP(inst, axis), \
1229 .axis = (TMAG5273_DT_X_AXIS_BIT(DT_INST_PROP(inst, axis)) | \
1230 TMAG5273_DT_Y_AXIS_BIT(DT_INST_PROP(inst, axis)) | \
1231 TMAG5273_DT_Z_AXIS_BIT(DT_INST_PROP(inst, axis))), \