ESP32-C3 Mastering
ESP32-C3 디지털 출력 — GPIO·LEDC·MCPWM 세 모드 비교
22개 GPIO, GPIO Matrix로 페리퍼럴 자유 매핑. LEDC PWM, MCPWM (모터 제어).
· 7분 읽기
gpio pwm
7개의 포스트
22개 GPIO, GPIO Matrix로 페리퍼럴 자유 매핑. LEDC PWM, MCPWM (모터 제어).
ISR 종료 → ready task 실행까지의 시간. 측정 방법과 worst-case 추적.
GPIO pin = type — 컴파일 타임에 핀 설정 검증, runtime 비용 0.
OS도 perf도 없는 환경에서 GPIO, DWT cycle counter, SysTick, ITM으로 측정하기.
어떻게 측정하나. DWT, PMU, clock_gettime, GPIO + 로직 분석기. Overhead 줄이기.
Mode/speed/pull/AF — STM32 기준 register-level driver.
Push-pull·open-drain·pull-up/down·drive strength·slew rate.