Home
last modified time | relevance | path

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

/Kernel-v11.1.0/portable/IAR/AtmelSAM7S64/
Dlib_AT91SAM7S64.h425 unsigned int baud_value; in AT91F_SSC_SetBaudrate() local
430 baud_value = 0; in AT91F_SSC_SetBaudrate()
434 baud_value = ( unsigned int ) ( mainClock * 10 ) / ( 2 * speed ); in AT91F_SSC_SetBaudrate()
436 if( ( baud_value % 10 ) >= 5 ) in AT91F_SSC_SetBaudrate()
438 baud_value = ( baud_value / 10 ) + 1; in AT91F_SSC_SetBaudrate()
442 baud_value /= 10; in AT91F_SSC_SetBaudrate()
446 pSSC->SSC_CMR = baud_value; in AT91F_SSC_SetBaudrate()
2075 unsigned int baud_value = ( ( main_clock * 10 ) / ( baud_rate * 16 ) ); in AT91F_US_Baudrate() local
2077 if( ( baud_value % 10 ) >= 5 ) in AT91F_US_Baudrate()
2079 baud_value = ( baud_value / 10 ) + 1; in AT91F_US_Baudrate()
[all …]