MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / bxcan0_hw_init

Function bxcan0_hw_init

bsp/loongson/ls1cdev/drivers/drv_can.c:220–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218
219#ifdef USING_BXCAN0
220static void bxcan0_hw_init(void)
221{
222 pin_set_purpose(54, PIN_PURPOSE_OTHER);
223 pin_set_purpose(55, PIN_PURPOSE_OTHER);
224 pin_set_remap(54, PIN_REMAP_THIRD);
225 pin_set_remap(55, PIN_REMAP_THIRD);
226}
227#endif
228
229#ifdef USING_BXCAN1

Callers 1

configureFunction · 0.85

Calls 2

pin_set_purposeFunction · 0.50
pin_set_remapFunction · 0.50

Tested by

no test coverage detected