at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 58
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: 58 of 461
- Download datasheet (7Mb)
Table 17. Overloading a Method without the Overloading of the Open Service Function.
58
Default service behavior in ROM
// Defined in embedded_services.h
typedef struct _AT91S_Service {
} AT91S_Service, * AT91PS_Service;
// Defined in obj_service.c (in ROM)
char AT91F_MainMethod ()
{
}
char AT91F_ChildMethod ()
{
}
// Init the service with default methods
AT91PS_Service AT91F_OpenService(
AT91PS_Service pService)
{
}
char data;
char (*MainMethod) ();
char (*ChildMethod) ();
pService->data = 0;
pService->MainMethod =AT91F_MainMethod;
pService->ChildMethod=AT91F_ChildMethod;
return pService;
AT91RM3400
This also can be done directly by overloading the method after the use of
vice>
method:
Overloading AT91F_ChildMethod by My_ChildMethod
// My_ChildMethod will replace AT91F_ChildMethod
char My_ChildMethod ()
{
}
// Allocation of the service structure
AT91S_Service service;
// Opening of the service
AT91PS_Service pService =
AT91F_OpenService(&service);
// Overloading ChildMethod default value
pService->ChildMethod= My_ChildMethod;
AT91F_Open_<Ser-
1790A–ATARM–11/03
Related parts for at91rm3400
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 ARM THUMB-BASED MICROCONTROLLERS
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 MEMORY EXTENSION CARD
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
AT91 ARM X40 SERIES EVAL KIT
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
At91 Arm Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91 Arm Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91 Arm(r) Thumb(r) Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
At91 Arm(r) Thumb(r) Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: