[PIC32] OC1 Dual Compare Match


[PIC32] OC1 Dual Compare Match

※ 내용에 오류가 있을 수 있습니다. 오류에 대해서는 Feedback 부탁 드리겠습니다.https://github.com/eziya/PIC32MZ_EXAMPLES/tree/master/PIC32MZ_OC_DUAL.X지난 글에 이어서 오늘은 dual compare mode 를 테스트 해보고자 합니다. dual compare mode 는 output 동작에 따서 single output pulse 모드와 continuous output pulse 모드로 나누어 집니다. single output pulse 모드에서는 output compare 모듈이 설정되면 1회만 pulse 가 출력됩니다. 1회 OCx 핀에 pulse 가 출력된 이후에는 타이머가 reset 후 다시 카운터가 match 되더라도 pulse 를 출력하지 않습니다. 앞선 글의 single compare 에서는 OCxR 레지스터만 사용되었지만..........



원문링크 : [PIC32] OC1 Dual Compare Match