Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 68) sorted by relevance

123

/hal_gigadevice-latest/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_can.c252 uint32_t val = 0U; in can_filter_init() local
485 uint32_t val = 0U; in can_transmit_states() local
647 uint8_t val = 0U; in can_receive_message_length_get() local
786 uint8_t val; in can_receive_error_number_get() local
802 uint8_t val; in can_transmit_error_number_get() local
/hal_gigadevice-latest/gd32vf103/standard_peripheral/source/
Dgd32vf103_can.c251 uint32_t val = 0U; in can_filter_init() local
482 uint32_t val = 0U; in can_transmit_states() local
644 uint8_t val = 0U; in can_receive_message_length_get() local
783 uint8_t val; in can_receive_error_number_get() local
799 uint8_t val; in can_transmit_error_number_get() local
/hal_gigadevice-latest/gd32f403/standard_peripheral/source/
Dgd32f403_can.c251 uint32_t val = 0U; in can_filter_init() local
482 uint32_t val = 0U; in can_transmit_states() local
644 uint8_t val = 0U; in can_receive_message_length_get() local
783 uint8_t val; in can_receive_error_number_get() local
799 uint8_t val; in can_transmit_error_number_get() local
/hal_gigadevice-latest/gd32vf103/riscv/drivers/
Driscv_bits.h15 #define EXTRACT_FIELD(val, which) (((val) & (which)) / ((which) & ~((which)-1))) argument
16 #define INSERT_FIELD(val, which, fieldval) (((val) & ~(which)) | ((fieldval) * ((which) & ~((which)… argument
/hal_gigadevice-latest/gd32e50x/standard_peripheral/source/
Dgd32e50x_can.c418 uint32_t val = 0U; in can_filter_init() local
1131 uint32_t val = 0U; local
1359 uint8_t val = 0U; local
1498 uint8_t val; local
1514 uint8_t val; local
/hal_gigadevice-latest/gd32f4xx/standard_peripheral/include/
Dgd32f4xx_rcu.h448 #define RCU_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
1004 #define CHECK_PLL_PSC_VALID(val) (((val) >= RCU_PLLPSC_DIV_MIN)&&((val) <= RCU_PLLPSC_DIV_MA… argument
1005 #define CHECK_PLL_N_VALID(val, inc) (((val) >= (RCU_PLLN_MUL_MIN + (inc)))&&((val) <= RCU_PLLN_… argument
1006 #define CHECK_PLL_P_VALID(val) (((val) == 2U) || ((val) == 4U) || ((val) == 6U) || ((val) … argument
1007 #define CHECK_PLL_Q_VALID(val) (((val) >= RCU_PLLQ_DIV_MIN)&&((val) <= RCU_PLLQ_DIV_MAX)) … argument
1051 #define CHECK_PLLI2S_PSC_VALID(val) (((val) >= RCU_PLLI2SPSC_DIV_MIN)&&((val) <= RCU_PLLI2SPSC_… argument
1052 #define CHECK_PLLI2S_N_VALID(val) (((val) >= RCU_PLLI2SN_MUL_MIN)&&((val) <= RCU_PLLI2SN_MUL_… argument
1053 #define CHECK_PLLI2S_Q_VALID(val) (((val) >= RCU_PLLI2SQ_DIV_MIN)&&((val) <= RCU_PLLI2SQ_DIV_… argument
1054 #define CHECK_PLLI2S_R_VALID(val) (((val) >= RCU_PLLI2SR_DIV_MIN)&&((val) <= RCU_PLLI2SR_DIV_… argument
1056 #define CHECK_PLLSAI_N_VALID(val) (((val) >= (RCU_PLLSAIN_MUL_MIN))&&((val) <= RCU_PLLSAIN_MU… argument
[all …]
Dgd32f4xx_dbg.h96 #define DBG_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
/hal_gigadevice-latest/gd32vf103/standard_peripheral/include/
Dgd32vf103_fmc.h115 #define FMC_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
118 #define FMC_BIT_POS0(val) (((uint32_t)(val) >> 6) & 0x1FU) argument
119 #define FMC_BIT_POS1(val) ((uint32_t)(val) & 0x1FU) argument
Dgd32vf103_i2c.h135 #define I2C_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
139 #define I2C_BIT_POS2(val) (((uint32_t)(val) & 0x1F0000U) >> 16) argument
Dgd32vf103_usart.h126 #define USART_BIT_POS(val) ((uint32_t)(val) & (0x0000001FU)) argument
130 #define USART_BIT_POS2(val) (((uint32_t)(val) & (0x001F0000U)) >> 16) argument
/hal_gigadevice-latest/gd32f403/standard_peripheral/include/
Dgd32f403_fmc.h141 #define FMC_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
144 #define FMC_BIT_POS0(val) (((uint32_t)(val) >> 6) & 0x1FU) argument
145 #define FMC_BIT_POS1(val) ((uint32_t)(val) & 0x1FU) argument
Dgd32f403_dbg.h87 #define DBG_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
Dgd32f403_i2c.h138 #define I2C_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
142 #define I2C_BIT_POS2(val) (((uint32_t)(val) & 0x1F0000U) >> 16) argument
/hal_gigadevice-latest/gd32a50x/standard_peripheral/include/
Dgd32a50x_can.h539 #define CAN_BIT_POS(val) ((uint32_t)(val) & 0x0000001FU) argument
1120 #define FIFO_FILTER_ID_EXD_A(val) (((uint32_t)(val) << 0U) & CAN_FDESX_ID_EXD_A) /*!< va… argument
1121 #define FIFO_FILTER_ID_STD_A(val) (((uint32_t)(val) << 18U) & CAN_FDESX_ID_STD_A)/*!< va… argument
1122 #define FIFO_FILTER_ID_EXD_B0(val) (GET_BITS((val),15,28) << 16U) /*!< va… argument
1123 #define FIFO_FILTER_ID_EXD_B1(val) (GET_BITS((val),15,28) << 0U) /*!< va… argument
1124 #define FIFO_FILTER_ID_STD_B0(val) (GET_BITS((val),0,10) << 19U) /*!< va… argument
1125 #define FIFO_FILTER_ID_STD_B1(val) (GET_BITS((val),0,10) << 3U) /*!< va… argument
1126 #define FIFO_FILTER_ID_EXD_C0(val) (GET_BITS((val),21,28) << 24U) /*!< va… argument
1127 #define FIFO_FILTER_ID_EXD_C1(val) (GET_BITS((val),21,28) << 16U) /*!< va… argument
1128 #define FIFO_FILTER_ID_EXD_C2(val) (GET_BITS((val),21,28) << 8U) /*!< va… argument
[all …]
Dgd32a50x_dbg.h79 #define DBG_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
Dgd32a50x_i2c.h165 #define I2C_BIT_POS(val) ((uint32_t)(val) & 0x0000001FU) argument
169 #define I2C_BIT_POS2(val) (((uint32_t)(val) & 0x001F0000U) >> 16) argument
/hal_gigadevice-latest/include/dt-bindings/pinctrl/
Dgd32-afio.h172 #define GD32_REMAP(reg, pos, msk, val) \ argument
/hal_gigadevice-latest/gd32l23x/standard_peripheral/include/
Dgd32l23x_dbg.h81 #define DBG_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
Dgd32l23x_i2c.h167 #define I2C_BIT_POS(val) ((uint32_t)(val) & 0x0000001FU) argument
171 #define I2C_BIT_POS2(val) (((uint32_t)(val) & 0x001F0000U) >> 16) argument
/hal_gigadevice-latest/gd32f3x0/standard_peripheral/include/
Dgd32f3x0_dbg.h84 #define DBG_BIT_POS(val) ((uint32_t)(val) & 0x0000001FU) argument
Dgd32f3x0_i2c.h137 #define I2C_BIT_POS(val) ((uint32_t)(val) & 0x0000001FU) argument
141 #define I2C_BIT_POS2(val) (((uint32_t)(val) & 0x001F0000U) >> 16) argument
/hal_gigadevice-latest/gd32l23x/standard_peripheral/source/
Dgd32l23x_lptimer.c471 uint32_t val; in lptimer_interrupt_flag_get() local
Dgd32l23x_slcd.c466 uint32_t val; in slcd_interrupt_flag_get() local
/hal_gigadevice-latest/gd32e50x/standard_peripheral/include/
Dgd32e50x_dbg.h95 #define DBG_BIT_POS(val) ((uint32_t)(val) & 0x1FU) argument
/hal_gigadevice-latest/gd32e10x/standard_peripheral/include/
Dgd32e10x_i2c.h154 #define I2C_BIT_POS(val) ((uint32_t)(val) & 0x0000001FU) argument
158 #define I2C_BIT_POS2(val) (((uint32_t)(val) & 0x001F0000U) >> 16) argument

123