Skip to content
Commit c3beabd3 authored by Mulin Chao's avatar Mulin Chao Committed by Anas Nashif
Browse files

driver: i2c: npcx: clear status register by setting a single bit.



Since all fields' type in SMBST is R/W1C and RO, setting a single bit to
clear a specified event is a more suitable solution. Or we might clear
the other pending bits that occurred at the same moment unexpectedly.

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
parent 7c8cb78b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment