commit | 32d159e3351b81c03348bf55292b9bcac9ea4abd | [log] [tgz] |
---|---|---|
author | Yannis Damigos <giannis.damigos@gmail.com> | Sun Aug 05 19:15:46 2018 +0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Aug 27 12:52:53 2018 -0400 |
tree | 4797c758dee2a5c15d30313110a6d22c8acd2211 | |
parent | c3118e66eeb46184c1d2f692f2765bab10ee6aa9 [diff] |
drivers: i2c_ll_stm32_v1: Generate STOP condition if NACK Acknowledge failure (AF) error occurs when the interface detects a NACK bit. According to the reference manual, the transmitter which receives a NACK must reset the communication: – If Slave: lines are released by hardware – If Master: a Stop or repeated Start condition must be generated by software Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>