drivers: serial: uart_stm32: Fix typo in register field name
The field is "NF: Noise detect flag". Given that every other field name is faithful to the manual, do the same for NF. Change-Id: I300663e6d5016bf28071d2a1926ec73682ae3d01 Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
This commit is contained in:
parent
9cb925dc70
commit
4c2802d6b7
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ static void set_baud_rate(struct device *dev, uint32_t rate)
|
||||||
* f_clk == PCLK2,
|
* f_clk == PCLK2,
|
||||||
* usartdiv = 234.375,
|
* usartdiv = 234.375,
|
||||||
* mantissa = 234,
|
* mantissa = 234,
|
||||||
* fracion = 6 (0.375 * 16)
|
* fraction = 6 (0.375 * 16)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
div = clock / rate;
|
div = clock / rate;
|
||||||
|
|
|
@ -34,7 +34,7 @@ union __sr {
|
||||||
struct {
|
struct {
|
||||||
uint32_t pe :1 __packed;
|
uint32_t pe :1 __packed;
|
||||||
uint32_t fe :1 __packed;
|
uint32_t fe :1 __packed;
|
||||||
uint32_t ne :1 __packed;
|
uint32_t nf :1 __packed;
|
||||||
uint32_t ore :1 __packed;
|
uint32_t ore :1 __packed;
|
||||||
uint32_t idle :1 __packed;
|
uint32_t idle :1 __packed;
|
||||||
uint32_t rxne :1 __packed;
|
uint32_t rxne :1 __packed;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue