21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Timer BMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER(6) Input to the timer and the direction registerTo input an external signal to the timer, set the direction register of the relevant port to input.(7) Pins related to timer B(a) TB0IN, TB1IN, TB2IN, TB3IN, TB4IN, TB5IN:Input pins to timer B.(8) Registers related to timer BFigure 2.3.1 shows the memory map of timer B-related registers. Figures 2.3.2 and 2.3.3 show timerB-related registers.004516004516004716034016Timer B5 interrupt control register (TB5IC)Timer B4 interrupt control register (TB4IC)Timer B3 interrupt control register (TB3IC)Timer B3,4,5 count start flag (TBSR)005A16005B16005C16Timer B0 interrupt control register (TB0IC)Timer B1 interrupt control register (TB1IC)Timer B2 interrupt control register (TB2IC)035016035116035216035316035416035516035B16035C16035D16038016038116Timer B3 (TB3)Timer B4 (TB4)Timer B5 (TB5)Timer B3 mode register (TB3MR)Timer B4 mode register (TB4MR)Timer B5 mode register (TB5MR)Count start flag (TABSR)Clock prescaler reset flag (CPSRF)039016039116039216039316039416039516Timer B0 (TB0)Timer B1 (TB1)Timer B2 (TB2)039B16039C16039D16Timer B0 mode register (TB0MR)Timer B1 mode register (TB1MR)Timer B2 mode register (TB2MR)Figure 2.3.1. Memory map of timer B-related registers313

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!