openMMC
Open Source Modular MMC for AMCs
|
Topics | |
Payload Messages Codes | |
Macros | |
#define | PAYLOAD_BASE_DELAY 100 |
Payload task unblock delay. | |
Enumerations | |
enum | { PAYLOAD_NO_POWER = 0 , PAYLOAD_POWER_GOOD_WAIT , PAYLOAD_STATE_FPGA_SETUP , PAYLOAD_FPGA_ON , PAYLOAD_SWITCHING_OFF , PAYLOAD_QUIESCED , PAYLOAD_RESET , PAYLOAD_MAX_STATES } |
Payload state machine state numbers. More... | |
Functions | |
void | payload_send_message (uint8_t fru_id, EventBits_t msg) |
Sends a message to the payload task. | |
void | vTaskPayload (void *pvParameters) |
Payload Control task. | |
void | payload_init (void) |
Creates Payload Control task and initializes the board's needed hardware. | |
Variables | |
enum { ... } | payload_state |
Payload state machine state numbers. | |
TaskHandle_t | vTaskPayload_Handle |
Payload task handle variable. | |
#define PAYLOAD_BASE_DELAY 100 |
#include <port/board/afc-v4/payload.h>
Payload task unblock delay.
anonymous enum |
#include <port/board/afc-v4/payload.h>
Payload state machine state numbers.
Enumerator | |
---|---|
PAYLOAD_NO_POWER | |
PAYLOAD_POWER_GOOD_WAIT | |
PAYLOAD_STATE_FPGA_SETUP | |
PAYLOAD_FPGA_ON | |
PAYLOAD_SWITCHING_OFF | |
PAYLOAD_QUIESCED | |
PAYLOAD_RESET | |
PAYLOAD_MAX_STATES |
void payload_init | ( | void | ) |
#include <port/board/afc-v4/payload.h>
Creates Payload Control task and initializes the board's needed hardware.
void payload_send_message | ( | uint8_t | fru_id, |
EventBits_t | msg ) |
#include <port/board/afc-v4/payload.h>
Sends a message to the payload task.
This function basically sets a flag that the Payload task reads and advances (or not) on the state machine
fru_id | Target FRU ID (0:AMC 1:RTM) |
msg | Message to send, using Payload Messages Codes definitions |
void vTaskPayload | ( | void * | pvParameters | ) |
#include <port/board/afc-v4/payload.h>
Payload Control task.
pvParameters | Pointer to buffer holding parameters passed to task upon initialization |
enum { ... } payload_state |
#include <port/board/afc-v4/payload.h>
Payload state machine state numbers.
|
extern |
#include <port/board/afc-v4/payload.h>
Payload task handle variable.