Home
last modified time | relevance | path

Searched refs:reg_addr (Results 1 – 13 of 13) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxos8700/
Dfxos8700_freemaster_demo.c178 uint8_t reg_addr[FXOS8700_NUM_REGISTERS]; member
333 FMSTR_TSA_MEMBER(fxos8700_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
538 status = FXOS8700_I2C_ReadData(&FXOS8700drv, FXOS8700_ALL_REG_READ, registers.reg_addr); in main()
539 if (0 == (registers.reg_addr[0] & FXOS8700_DR_STATUS_ZYXDR_MASK)) in main()
545 rawData.accel[0] = ((int16_t)registers.reg_addr[1] << 8) | registers.reg_addr[2]; in main()
547 rawData.accel[1] = ((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[4]; in main()
549 rawData.accel[2] = ((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[6]; in main()
551 rawData.mag[0] = ((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[8]; in main()
552 rawData.mag[1] = ((int16_t)registers.reg_addr[9] << 8) | registers.reg_addr[10]; in main()
553 rawData.mag[2] = ((int16_t)registers.reg_addr[11] << 8) | registers.reg_addr[12]; in main()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mma865x/
Dmma865x_freemaster_demo.c139 uint8_t reg_addr[MMA865x_NUM_REGISTERS]; member
278 FMSTR_TSA_MEMBER(mma865x_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
477 status = MMA865x_I2C_ReadData(&MMA8652drv, MMA865x_ALL_REG_READ, registers.reg_addr); in main()
478 if (0 == (registers.reg_addr[0] & MMA865x_STATUS_ZYXDR_MASK)) in main()
484 rawData.accel[0] = ((int16_t)registers.reg_addr[1] << 8) | registers.reg_addr[2]; in main()
486 rawData.accel[1] = ((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[4]; in main()
488 rawData.accel[2] = ((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[6]; in main()
491 … status = MMA865x_I2C_ReadData(&MMA8652drv, cMMA865x_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
705 registers->fs_value = registers->reg_addr[MMA865x_XYZ_DATA_CFG]; in update_dropdown_selection()
706 registers->mods_value = registers->reg_addr[MMA865x_CTRL_REG2]; in update_dropdown_selection()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8962/
Dfxls8962_freemaster_demo.c173 uint8_t reg_addr[FXLS896x_NUM_REGISTERS]; member
359 FMSTR_TSA_MEMBER(fxls896x_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
577 status = FXLS8962_I2C_ReadData(&fxls8962Driver, FXLS896x_ALL_REG_READ, registers.reg_addr); in main()
583 registers.temp = registers.reg_addr[1]+25; in main()
584 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
587 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
588 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
589 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
591 …tus = FXLS8962_I2C_ReadData(&fxls8962Driver, cFXLS896x_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
780 registers->fs_value = registers->reg_addr[FXLS8962_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls896xaf/
Dfxls896xaf_freemaster_demo.c173 uint8_t reg_addr[FXLS896x_NUM_REGISTERS]; member
361 FMSTR_TSA_MEMBER(fxls896x_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
585 status = FXLS896x_I2C_ReadData(&fxls896xDriver, FXLS896x_ALL_REG_READ, registers.reg_addr); in main()
601 registers.temp = registers.reg_addr[1]+25; in main()
602 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
605 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
606 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
607 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
616 …tus = FXLS896x_I2C_ReadData(&fxls896xDriver, cFXLS896x_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
798 registers->fs_value = registers->reg_addr[FXLS896x_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
Dfxls896xaf_freemaster_usb_demo.c170 uint8_t reg_addr[FXLS896x_NUM_REGISTERS]; member
352 FMSTR_TSA_MEMBER(fxls896x_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
582 status = FXLS896x_I2C_ReadData(&fxls896xDriver, FXLS896x_ALL_REG_READ, registers.reg_addr); in main()
598 registers.temp = registers.reg_addr[1]+25; in main()
599 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
602 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
603 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
604 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
613 …tus = FXLS896x_I2C_ReadData(&fxls896xDriver, cFXLS896x_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
795 registers->fs_value = registers->reg_addr[FXLS896x_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8971cf/
Dfxls8971cf_freemaster_demo.c173 uint8_t reg_addr[FXLS8971_NUM_REGISTERS]; member
361 FMSTR_TSA_MEMBER(fxls8971_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
585 status = FXLS8971_I2C_ReadData(&fxls8971Driver, FXLS8971_ALL_REG_READ, registers.reg_addr); in main()
601 registers.temp = registers.reg_addr[1]+25; in main()
602 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
605 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
606 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
607 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
616 …tus = FXLS8971_I2C_ReadData(&fxls8971Driver, cFXLS8971_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
798 registers->fs_value = registers->reg_addr[FXLS8971_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8961af/
Dfxls8961af_freemaster_demo.c173 uint8_t reg_addr[FXLS8961_NUM_REGISTERS]; member
361 FMSTR_TSA_MEMBER(fxls8961_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
585 status = FXLS8961_I2C_ReadData(&fxls8961Driver, FXLS8961_ALL_REG_READ, registers.reg_addr); in main()
601 registers.temp = registers.reg_addr[1]+25; in main()
602 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
605 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
606 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
607 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
616 …tus = FXLS8961_I2C_ReadData(&fxls8961Driver, cFXLS8961_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
798 registers->fs_value = registers->reg_addr[FXLS8961_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxls8974cf/
Dfxls8974cf_freemaster_demo.c173 uint8_t reg_addr[FXLS8974_NUM_REGISTERS]; member
361 FMSTR_TSA_MEMBER(fxls8974_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
585 status = FXLS8974_I2C_ReadData(&fxls8974Driver, FXLS8974_ALL_REG_READ, registers.reg_addr); in main()
601 registers.temp = registers.reg_addr[1]+25; in main()
602 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
605 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
606 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
607 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
616 …tus = FXLS8974_I2C_ReadData(&fxls8974Driver, cFXLS8974_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
798 registers->fs_value = registers->reg_addr[FXLS8974_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
Dfxls8974cf_freemaster_usb_demo.c170 uint8_t reg_addr[FXLS8974_NUM_REGISTERS]; member
352 FMSTR_TSA_MEMBER(fxls8974_allregs_t, reg_addr, FMSTR_TSA_UINT8) in FMSTR_TSA_STRUCT()
582 status = FXLS8974_I2C_ReadData(&fxls8974Driver, FXLS8974_ALL_REG_READ, registers.reg_addr); in main()
598 registers.temp = registers.reg_addr[1]+25; in main()
599 registers.sdcd = (registers.reg_addr[0] & 0x10)>>4; in main()
602 …Data.accel[0] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[3] << 8) | registers.reg_addr[2]… in main()
603 …Data.accel[1] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[5] << 8) | registers.reg_addr[4]… in main()
604 …Data.accel[2] = (int16_t)(((int16_t)(((int16_t)registers.reg_addr[7] << 8) | registers.reg_addr[6]… in main()
613 …tus = FXLS8974_I2C_ReadData(&fxls8974Driver, cFXLS8974_whoami, (uint8_t *)&registers.reg_addr[13]); in main()
795 registers->fs_value = registers->reg_addr[FXLS8974_SENS_CONFIG1]; in update_dropdown_selection()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/enet/
Dfsl_enet_cmsis.c382 static int32_t ENET_Phy_Write(cmsis_enet_mac_resource_t *enet, uint8_t phy_addr, uint8_t reg_addr, … in ENET_Phy_Write() argument
390 ENET_StartSMIWrite(enet->base, phy_addr, reg_addr, kENET_MiiWriteValidFrame, data); in ENET_Phy_Write()
413 static int32_t ENET_Phy_Read(cmsis_enet_mac_resource_t *enet, uint8_t phy_addr, uint8_t reg_addr, u… in ENET_Phy_Read() argument
423 ENET_StartSMIRead(enet->base, phy_addr, reg_addr, kENET_MiiReadValidFrame); in ENET_Phy_Read()
598 static int32_t ENET0_PhyWrite(uint8_t phy_addr, uint8_t reg_addr, uint16_t data) in ENET0_PhyWrite() argument
600 return ENET_Phy_Write(&ENET0_Resource, phy_addr, reg_addr, data); in ENET0_PhyWrite()
603 static int32_t ENET0_PhyRead(uint8_t phy_addr, uint8_t reg_addr, uint16_t *data) in ENET0_PhyRead() argument
605 return ENET_Phy_Read(&ENET0_Resource, phy_addr, reg_addr, data); in ENET0_PhyRead()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Driver/Include/
DDriver_ETH_PHY.h120 typedef int32_t (*ARM_ETH_PHY_Read_t) (uint8_t phy_addr, uint8_t reg_addr, uint16_t *data); ///< P…
121 typedef int32_t (*ARM_ETH_PHY_Write_t) (uint8_t phy_addr, uint8_t reg_addr, uint16_t data); ///< P…
DDriver_ETH_MAC.h302 …int32_t (*PHY_Read) (uint8_t phy_addr, uint8_t reg_addr, uint16_t *data); …
303 …int32_t (*PHY_Write) (uint8_t phy_addr, uint8_t reg_addr, uint16_t data); …
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Driver/DriverTemplates/
DDriver_ETH_MAC.c196 static int32_t ARM_ETH_MAC_PHY_Read(uint8_t phy_addr, uint8_t reg_addr, uint16_t *data) in ARM_ETH_MAC_PHY_Read() argument
200 static int32_t ARM_ETH_MAC_PHY_Write(uint8_t phy_addr, uint8_t reg_addr, uint16_t data) in ARM_ETH_MAC_PHY_Write() argument