at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 61

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
Table 19. Tempo Service Methods (Continued)
Note:
1790A–ATARM–11/03
Associated Function Pointers & Methods Used by Default
// Typical Use:
AT91S_CtlTempo ctlTempo;
ctlTempo.CtlTempoRemove(...);
// Default Method:
AT91S_TempoStatus AT91F_CtlTempoRemove
(AT91PS_CtlTempo pCtrl,
AT91PS_SvcTempo pTempo)
// Typical Use:
AT91S_CtlTempo ctlTempo;
ctlTempo.CtlTempoTick(...);
// Default Method:
AT91S_TempoStatus AT91F_CtlTempoTick
(AT91PS_CtlTempo pCtrl)
// Typical Use:
AT91S_SvcTempo svcTempo;
svcTempo.Start(...);
// Default Method:
AT91S_TempoStatus AT91F_SvcTempoStart (
AT91PS_SvcTempo pSvc,
unsigned int timeout,
unsigned int reload,
void (*callback) (AT91S_TempoStatus, void *),
void *pData)
// Typical Use:
AT91S_SvcTempo svcTempo;
svcTempo.Stop(...);
// Default Method:
AT91S_TempoStatus AT91F_SvcTempoStop (
AT91PS_SvcTempo pSvc)
AT91S_TempoStatus
corresponds to an unsigned int.
Description
Member of
Remove a software timer in the list.
Input Parameters:
Pointer on a Control Tempo Object.
Pointer on a Service Tempo Object to remove.
Output Parameters:
Returns 0 if the tempo was created.
Returns 1 if not.
Member of
Refresh all the software timers in the list. Update their timeout
and check if callbacks have to be launched. So, for example, this
function has to be used when the hardware timer starts a new
periodic interrupt if period interval timer is used.
Input Parameters:
Pointer on a Control Tempo Object.
Output Parameters:
Returns 1.
Member of
Start a software timer.
Input Parameters:
Pointer on a Service Tempo Object.
Timeout to apply.
Number of times to reload the tempo after timeout completed for
periodic execution.
Callback on a method to launch once the timeout completed.
Allows to have a hook on the current service.
Output Parameters:
Returns 1.
Member of
Force to stop a software timer.
Input Parameters:
Pointer on a Service Tempo Object.
Output Parameters:
Returns 1.
AT91S_CtlTempo
AT91S_CtlTempo
AT91S_SvcTempo
AT91S_SvcTempo
structure.
structure.
structure.
structure.
AT91RM3400
61

Related parts for at91rm3400