![]() |
uGOOSE
1.0
GOOSE for Embedded Devices. Sample project for Renesas R-IN32-EC
|
Go to the source code of this file.
Functions | |
ER | GooseTaskInit (void) |
Task init function. More... | |
ER | GooseTask (SINT32 exinf) |
The Goose Task. More... | |
Header file for goose_task.c - the test task for the GOOSE library
ER GooseTask | ( | SINT32 | exinf | ) |
The Goose Task.
This function is the 'Main' function of the Goose Task. The task will enter a 'while(1)' loop and not exit unless an error occurs. Two function are performed by this task:
First Packet (SeQ 0)
Goose 2 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | .. | 63 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Array of BOOL | T | F | F | F | F | F | F | F | F | F | F | F | F | F | F |
Second Packet (SeQ 1)
Goose 2 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | .. | 63 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Array of BOOL | T | T | F | F | F | F | F | F | F | F | F | F | F | F | F |
Third Packet (SeQ 2)
Goose 2 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | .. | 63 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Array of BOOL | T | T | T | F | F | F | F | F | F | F | F | F | F | F | F |
Once the value has been updated, a GOOSE packet (Goose 3) will be sent out with the updated values.
exinf | Extra Information field provided by the OS |
ER GooseTaskInit | ( | void | ) |
Task init function.
This function is called to start the task. Any initialisation that may be required can be performed here, before the actual task is started.