openMMC
Open Source Modular MMC for AMCs
|
Go to the source code of this file.
Macros | |
#define | PAYLOAD_MESSAGE_COLD_RST (1 << 0) |
#define | PAYLOAD_MESSAGE_WARM_RST (1 << 1) |
#define | PAYLOAD_MESSAGE_REBOOT (1 << 2) |
#define | PAYLOAD_MESSAGE_QUIESCE (1 << 3) |
#define | PAYLOAD_MESSAGE_RTM_ENABLE (1 << 4) |
#define | PAYLOAD_MESSAGE_CLOCK_CONFIG (1 << 5) |
#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. | |
mmc_err | clock_configuration (const uint8_t clk_cfg[16]) |
Configure the clock switch interconects according to the configuration saved in EEPROM. | |
Variables | |
enum { ... } | payload_state |
Payload state machine state numbers. | |
TaskHandle_t | vTaskPayload_Handle |
Payload task handle variable. | |