at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 62
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
at91rm3400
Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
1.AT91RM3400.pdf
(461 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 62 of 461
- Download datasheet (7Mb)
Using the Service
62
AT91RM3400
The first step is to find the address of the open service method AT91F_OpenCtlTempo using
the ROM Entry Service.
Allocate one instance of AT91S_CtlTempo and AT91S_SvcTempo in the application mem-
ory space:
Initialize the AT91S_CtlTempo instance by calling the AT91F_OpenCtlTempo function:
At this stage, the application can use the AT91S_CtlTempo service members.
If the application wants to overload an object member, it can be done now. For example, if
AT91F_CtlTempoCreate(
tion defined as my_CtlTempoCreate(...), the procedure is as follows:
I n m o s t c a s e s , i n i t i a l i z e t h e A T 9 1 S _ S v c T e m p o o b j e c t b y c a l l i n g t h e
AT91F_CtlTempoCreate method of the AT91S_CtlTempo service:
Start the timeout by calling
parameters, either a callback is started at the end of the countdown or the status of the time-
out is checked by reading the TickTempo member of the svcTempo1 object.
When the application needs another software timer to control a timeout, it:
•
•
// Allocate the service and the control tempo
AT91S_CtlTempo ctlTempo;
AT91S_SvcTempo svcTempo1;
// Initialize service
pAT91->OpenCtlTempo(&ctlTempo, (void *) &(pAT91->SYSTIMER_DESC));
// Overload AT91F_CtlTempoCreate
ctlTempo.CtlTempoCreate = my_CtlTempoCreate;
// Init the svcTempo1, link it to the AT91S_CtlTempo object
ctlTempo.CtlTempoCreate(&ctlTempo, &svcTempo1);
// Start the timeout
svcTempo1.Start(&svcTempo1,100,0,NULL,NULL);
// Wait for the timeout of 100 (unity depends on the timer programmation)
// No repetition and no callback.
while (svcTempo1.TickTempo);
Allocates one instance of AT91S_SvcTempo in the application memory space
// Allocate the service
AT91S_SvcTempo svcTempo2;
Initializes the AT91S_SvcTempo object calling the AT91F_CtlTempoCreate method of
the AT91S_CtlTempo service:
// Init the svcTempo2, link it to the AT91S_CtlTempo object
ctlTempo.CtlTempoCreate(&ctlTempo, &svcTempo2);
Start
&ctlTempo, &svcTempo1
method of the svcTempo1 object. Depending on the function
) method is to be replaced by the applica-
1790A–ATARM–11/03
Related parts for at91rm3400
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT91SAM7X256-AU-001](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91SAM7S256](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT91 ARM THUMB-BASED MICROCONTROLLERS
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91SAM7X512](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91MEC01](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
AT91 MEMORY EXTENSION CARD
Manufacturer:
Atmel
Datasheet:
![AT91EB40](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
AT91 ARM X40 SERIES EVAL KIT
Manufacturer:
Atmel
Datasheet:
![AT91SAM7XC512](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91SAM9M10](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91F40416](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm(r) Thumb(r) Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91M40807](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm(r) Thumb(r) Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91FR40162SB](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: