ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Пятница
29 марта
697770 Топик полностью
Apтём (05.09.2016 22:17, просмотров: 233) ответил AU08 на Спасибо! А как его сбросить?
Да какбы не за что...Врядли в этом дело. 
А как его сбросить?
В регистр DMA.CH0.CTRLB бит 5:
Bit 5 – ERRIF: Error Interrupt Flag If an error condition is detected on the DMA channel, the ERRIF flag will be set and the optional interrupt is gener- ated. Since the DMA channel error interrupt shares the interrupt address with the DMA channel n transaction complete interrupt, ERRIF will not be cleared when the interrupt vector is executed. This flag is cleared by writing a one to this location.
Типа 1-ку пишем в него. А что с несброшенным флагом ошибки как-то не так работает?