Home
last modified time | relevance | path

Searched refs:switch_channel (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/srtm/services/
Dsrtm_i2c_service.c71 srtm_i2c_switch_channel switch_channel; in SRTM_I2CService_ReadBus() local
87 switch_channel = targetBus->switch_channel; in SRTM_I2CService_ReadBus()
88 if (switch_inst->cur_channel != switch_channel) in SRTM_I2CService_ReadBus()
90 (void)adapter->switchchannel(adapter, base_addr, type, switch_addr, switch_channel); in SRTM_I2CService_ReadBus()
91 switch_inst->cur_channel = switch_channel; in SRTM_I2CService_ReadBus()
110 srtm_i2c_switch_channel switch_channel; in SRTM_I2CService_WriteBus() local
126 switch_channel = targetBus->switch_channel; in SRTM_I2CService_WriteBus()
127 if (switch_inst->cur_channel != switch_channel) in SRTM_I2CService_WriteBus()
129 (void)adapter->switchchannel(adapter, base_addr, type, switch_addr, switch_channel); in SRTM_I2CService_WriteBus()
130 switch_inst->cur_channel = switch_channel; in SRTM_I2CService_WriteBus()
Dsrtm_i2c_service.h86 srtm_i2c_switch_channel switch_channel; member