.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "__AD_TIMER_TO_TICKS" "" "06 October 2005" "" ""
.SH NAME
__ad_timer_to_ticks \- convert a given timer type to AD module ticks
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u16 __ad_timer_to_ticks (u16 \fItimer_type\fB, u16 \fIpar\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fItimer_type\fB\fR
which timer to operate
.TP
\fB\fIpar\fB\fR
timer parameter. see below
.SH "DESCRIPTION"
.PP
If \fItimer_type\fR is current_while_timer, \fIpar\fR indicates long/short timer.
If \fItimer_type\fR is periodic_timer, \fIpar\fR is one of FAST_PERIODIC_TIME,
SLOW_PERIODIC_TIME\&.