Home
last modified time | relevance | path

Searched refs:sm_bus_cfg (Results 1 – 3 of 3) sorted by relevance

/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Di2c_hal_debug.c27 SOC_LOGI(" sm_bus_cfg=0x%x value=0x%x\n", &hw->sm_bus_cfg, hw->sm_bus_cfg.v); in i2c0_struct_dump()
28 SOC_LOGI(" idle_cr: %x\n", hw->sm_bus_cfg.idle_cr); in i2c0_struct_dump()
29 SOC_LOGI(" scl_cr: %x\n", hw->sm_bus_cfg.scl_cr); in i2c0_struct_dump()
30 SOC_LOGI(" freq_div: %x\n", hw->sm_bus_cfg.freq_div); in i2c0_struct_dump()
31 SOC_LOGI(" slave_addr: %x\n", hw->sm_bus_cfg.slave_addr); in i2c0_struct_dump()
32 SOC_LOGI(" clk_src: %x\n", hw->sm_bus_cfg.clk_src); in i2c0_struct_dump()
33 SOC_LOGI(" timeout_en: %x\n", hw->sm_bus_cfg.timeout_en); in i2c0_struct_dump()
34 SOC_LOGI(" idle_det_en: %x\n", hw->sm_bus_cfg.idle_det_en); in i2c0_struct_dump()
35 SOC_LOGI(" inh: %x\n", hw->sm_bus_cfg.inh); in i2c0_struct_dump()
36 SOC_LOGI(" en: %x\n", hw->sm_bus_cfg.en); in i2c0_struct_dump()
Di2c_ll.h38 hw->i2c0_hw->sm_bus_cfg.v = 0; in i2c_ll_init()
44 hw->i2c0_hw->sm_bus_cfg.en = 1; in i2c_ll_enable()
49 hw->i2c0_hw->sm_bus_cfg.en = 0; in i2c_ll_disable()
58 hw->i2c0_hw->sm_bus_cfg.idle_cr = threshold; in i2c_ll_set_idle_detect_threshold()
63 hw->i2c0_hw->sm_bus_cfg.scl_cr = threshold; in i2c_ll_set_scl_timeout_threshold()
68 hw->i2c0_hw->sm_bus_cfg.clk_src = clk_src; in i2c_ll_set_clk_src()
73 hw->i2c0_hw->sm_bus_cfg.timeout_en = 1; in i2c_ll_enable_scl_timeout()
78 hw->i2c0_hw->sm_bus_cfg.timeout_en = 0; in i2c_ll_disable_scl_timeout()
83 hw->i2c0_hw->sm_bus_cfg.idle_det_en = 1; in i2c_ll_enable_idle_det()
88 hw->i2c0_hw->sm_bus_cfg.idle_det_en = 0; in i2c_ll_disable_idle_det()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/soc/
Di2c_struct.h37 } sm_bus_cfg; member