Home
last modified time | relevance | path

Searched refs:CAN_CTL (Results 1 – 8 of 8) sorted by relevance

/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/source/
Dgd32f403_can.c165 CAN_CTL(can_periph) &= ~CAN_CTL_SLPWMOD; in can_init()
167 CAN_CTL(can_periph) |= CAN_CTL_IWMOD; in can_init()
185 CAN_CTL(can_periph) |= CAN_CTL_TTC; in can_init()
187 CAN_CTL(can_periph) &= ~CAN_CTL_TTC; in can_init()
191 CAN_CTL(can_periph) |= CAN_CTL_ABOR; in can_init()
193 CAN_CTL(can_periph) &= ~CAN_CTL_ABOR; in can_init()
197 CAN_CTL(can_periph) |= CAN_CTL_AWU; in can_init()
199 CAN_CTL(can_periph) &= ~CAN_CTL_AWU; in can_init()
203 CAN_CTL(can_periph) |= CAN_CTL_ARD; in can_init()
205 CAN_CTL(can_periph) &= ~CAN_CTL_ARD; in can_init()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_can.c166 CAN_CTL(can_periph) &= ~CAN_CTL_SLPWMOD; in can_init()
168 CAN_CTL(can_periph) |= CAN_CTL_IWMOD; in can_init()
186 CAN_CTL(can_periph) |= CAN_CTL_TTC; in can_init()
188 CAN_CTL(can_periph) &= ~CAN_CTL_TTC; in can_init()
192 CAN_CTL(can_periph) |= CAN_CTL_ABOR; in can_init()
194 CAN_CTL(can_periph) &= ~CAN_CTL_ABOR; in can_init()
198 CAN_CTL(can_periph) |= CAN_CTL_AWU; in can_init()
200 CAN_CTL(can_periph) &= ~CAN_CTL_AWU; in can_init()
204 CAN_CTL(can_periph) |= CAN_CTL_ARD; in can_init()
206 CAN_CTL(can_periph) &= ~CAN_CTL_ARD; in can_init()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/source/
Dgd32vf103_can.c165 CAN_CTL(can_periph) &= ~CAN_CTL_SLPWMOD; in can_init()
167 CAN_CTL(can_periph) |= CAN_CTL_IWMOD; in can_init()
185 CAN_CTL(can_periph) |= CAN_CTL_TTC; in can_init()
187 CAN_CTL(can_periph) &= ~CAN_CTL_TTC; in can_init()
191 CAN_CTL(can_periph) |= CAN_CTL_ABOR; in can_init()
193 CAN_CTL(can_periph) &= ~CAN_CTL_ABOR; in can_init()
197 CAN_CTL(can_periph) |= CAN_CTL_AWU; in can_init()
199 CAN_CTL(can_periph) &= ~CAN_CTL_AWU; in can_init()
203 CAN_CTL(can_periph) |= CAN_CTL_ARD; in can_init()
205 CAN_CTL(can_periph) &= ~CAN_CTL_ARD; in can_init()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/source/
Dgd32e50x_can.c306 CAN_CTL(can_periph) &= ~CAN_CTL_SLPWMOD; in can_init()
308 CAN_CTL(can_periph) |= CAN_CTL_IWMOD; in can_init()
350 CAN_CTL(can_periph) |= CAN_CTL_TTC; in can_init()
352 CAN_CTL(can_periph) &= ~CAN_CTL_TTC; in can_init()
356 CAN_CTL(can_periph) |= CAN_CTL_ABOR; in can_init()
358 CAN_CTL(can_periph) &= ~CAN_CTL_ABOR; in can_init()
362 CAN_CTL(can_periph) |= CAN_CTL_AWU; in can_init()
364 CAN_CTL(can_periph) &= ~CAN_CTL_AWU; in can_init()
368 CAN_CTL(can_periph) &= ~CAN_CTL_ARD; in can_init()
370 CAN_CTL(can_periph) |= CAN_CTL_ARD; in can_init()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/include/
Dgd32f403_can.h48 #define CAN_CTL(canx) REG32((canx) + 0x00U) /*!< CAN control register … macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/include/
Dgd32f4xx_can.h50 #define CAN_CTL(canx) REG32((canx) + 0x00000000U) /*!< CAN control regi… macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/include/
Dgd32vf103_can.h48 #define CAN_CTL(canx) REG32((canx) + 0x00U) /*!< CAN control register … macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/include/
Dgd32e50x_can.h48 #define CAN_CTL(canx) REG32((canx) + 0x00000000U) /*!< CAN control regi… macro