1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

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

17 212 0

Đ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

Xem thêm: Vi điều khiển và ứng dụng InputCapture

Mục lục

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

    Minh họa Input Capture

    External signal interrupt mode

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

    Ví dụ khởi tạo

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

    Xử lý finite state machine

    Giải mã dữ liệu

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w