Rev.1.01 2007.02.16
RJJ10J1643-0101
108
RAPI_TRD_F4
Timer RD counts with internal clockφ/4.
RAPI_TRD_F8
Timer RD counts with internal clock φ/8.
RAPI_TRD_F32
Timer RD counts with internal clock φ/32.
RAPI_TRD_F40M
Timer RD counts with internal clock φ40M.
RAPI_TIMER_ON Sets the timer to start operating in __CreateInputCapture.
RAPI_TIMER_OFF Sets the timer to stop operating in __CreateInputCapture.
RAPI_OVERFLOW Enables overflow interrupt.
RAPI_INPUT_
CAPTURE_A
Enables GRA input capture interrupt.
RAPI_INPUT_
CAPTURE_B
Enables GRB input capture interrupt.
RAPI_INPUT_
CAPTURE_C
Enables GRC input capture interrupt.
RAPI_INPUT_
CAPTURE_D
Enables GRD input capture interrupt.
RAPI_COUNT_CLEAR_A Specifies GRA input capture for the cause of counter clear.
RAPI_COUNT_CLEAR_B Specifies GRB input capture for the cause of counter clear.
RAPI_COUNT_CLEAR_C Specifies GRC input capture for the cause of counter clear.
RAPI_COUNT_CLEAR_D Specifies GRD input capture for the cause of counter clear.
RAPI_COUNT_CLEAR_S
YNC
Clear counter in sync with the synchronized other timer counter
RAPI_TIMER_SYNC Synchronizes timer on channels 0 and 1.
RAPI_TRC_FILTER_F1 Use sampling frequency f1 for timer RC digital filter function
RAPI_TRC_FILTER_F8 Use sampling frequency f8 for timer RC digital filter function
RAPI_TRC_FILTER_F32 Use sampling frequency f32 for timer RC digital filter function
RAPI_TRC_FILTER_F Use sampling frequency f for timer RD digital filter function
RAPI_TRD_FILTER_F1 Use sampling frequency f1 for timer RD digital filter function
RAPI_TRD_FILTER_F8 Use sampling frequency f8 for timer RD digital filter function
RAPI_TRD_FILTER_F32 Use sampling frequency f32 for timer RD digital filter function
RAPI_TRD_FILTER_F Use sampling frequency f for timer RD digital filter function
• Specifiable definition values when timer W is used (RAPI_TIMER_W specified)
(Count source) Specify one from { RAPI_TW_F1, RAPI_TW_F2, RAPI_TW_F4,
RAPI_TW_F8 }. The default value is RAPI_TW_F1.
(Operating
states set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Interrupt) If overflow interrupt requests are enabled, specify RAPI_OVERFLOW.
Similarly, if input capture A, input capture B, input capture C, or input capture
D interrupt requests are enabled, specify RAPI_INPUT_CAPTURE_A,
RAPI_INPUT_CAPTURE_B, RAPI_INPUT_CAPTURE_C, or
RAPI_INPUT_CAPTURE_D, respectively. If no interrupts are specified, “No
interrupt request” is set.