Vi điều khiển và ứng dụng InputCapture

17 212 0
Vi điều khiển và ứng dụng InputCapture

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Chuyên đề II Vi điều khiển ứng dụng Input Capture Input capture Bảng ghi Giải thích Minh họa Input Capture Ví dụ Prescaler capture mode External signal interrupt mode  the input capture module is configured for operation in the external signal interrupt mode  the configuration bits ICMare set to 111  the input pins ICx on rising edge generate an interrupt request ICxIF  The interrupt enable bit ICxIE is set  The interrupt priority level ICxIPis defined Ví dụ đọc liệu từ bàn phím Ví dụ khởi tạo 10 Finite state machine 11 Định nghĩa trạng thái 12 Xử lý finite state machine 13 Circular buffer 14 Circular buffer 15 Giải mã liệu 16 Test liệu 17

Ngày đăng: 30/12/2015, 18:05

Từ khóa liên quan

Mục lục

  • Chuyên đề II Vi điều khiển và ứng dụng

  • Input capture

  • Bảng thanh ghi

  • Giải thích

  • Minh họa Input Capture

  • Ví dụ

  • Prescaler capture mode

  • External signal interrupt mode

  • Ví dụ đọc dữ liệu từ bàn phím

  • Ví dụ khởi tạo

  • Finite state machine

  • Định nghĩa trạng thái

  • Xử lý finite state machine

  • Circular buffer

  • Slide 15

  • Giải mã dữ liệu

  • Test dữ liệu

Tài liệu cùng người dùng

Tài liệu liên quan