Searched refs:rs485_deat_dedt (Results 1 – 1 of 1) sorted by relevance
114 u32 rs485_deat_dedt; in stm32_usart_config_reg_rs485() local124 rs485_deat_dedt = delay_ADE * baud * 8; in stm32_usart_config_reg_rs485()126 rs485_deat_dedt = delay_ADE * baud * 16; in stm32_usart_config_reg_rs485()128 rs485_deat_dedt = DIV_ROUND_CLOSEST(rs485_deat_dedt, 1000); in stm32_usart_config_reg_rs485()129 rs485_deat_dedt = rs485_deat_dedt > rs485_deat_dedt_max ? in stm32_usart_config_reg_rs485()130 rs485_deat_dedt_max : rs485_deat_dedt; in stm32_usart_config_reg_rs485()131 rs485_deat_dedt = (rs485_deat_dedt << USART_CR1_DEAT_SHIFT) & in stm32_usart_config_reg_rs485()133 *cr1 |= rs485_deat_dedt; in stm32_usart_config_reg_rs485()136 rs485_deat_dedt = delay_DDE * baud * 8; in stm32_usart_config_reg_rs485()138 rs485_deat_dedt = delay_DDE * baud * 16; in stm32_usart_config_reg_rs485()[all …]