usb-c: tcpc: Enable ISR Hard Reset sent bits
This change enables the ISR Hard Reset sent bits, so that an interrupt is generated when a Hard Reset is sent or the Hard Reset failed. Signed-off-by: Sam Hurst <sbh1187@gmail.com>
This commit is contained in:
parent
603ac13145
commit
6b4b7a02e7
|
@ -553,6 +553,8 @@ static void ucpd_start_transmit(const struct device *dev,
|
|||
|
||||
imr = LL_UCPD_ReadReg(config->ucpd_port, IMR);
|
||||
imr |= UCPD_IMR_HRSTDISCIE | UCPD_IMR_HRSTSENTIE;
|
||||
LL_UCPD_WriteReg(config->ucpd_port, IMR, imr);
|
||||
|
||||
/* Initiate Hard Reset */
|
||||
cr |= UCPD_CR_TXHRST;
|
||||
LL_UCPD_WriteReg(config->ucpd_port, CR, cr);
|
||||
|
|
Loading…
Reference in a new issue