As described in RM0376 DocID025941 rev 4 datasheet page 882 the SW_BUF flag shows the packet buffer for the application software. But there is a mismatch in the Table 143 for IN-type endpoint for DTOG=1 SW_BUF=1. Is it a mistake ?
Also. Is the STAT bits follows the state defined by DTOG SW_BUF pair (NAK / VALID switching) ?