TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
Loading...
Searching...
No Matches
led.c File Reference
#include <tenstorrent/smc_msg.h>
#include <tenstorrent/msgqueue.h>
#include "cm2dm_msg.h"

Functions

static uint8_t toggle_blinky_handler (const union request *request, struct response *response)
 Handler for TT_SMC_MSG_BLINKY messages.
 REGISTER_MESSAGE (TT_SMC_MSG_BLINKY, toggle_blinky_handler)

Function Documentation

◆ REGISTER_MESSAGE()

REGISTER_MESSAGE ( TT_SMC_MSG_BLINKY ,
toggle_blinky_handler  )

◆ toggle_blinky_handler()

uint8_t toggle_blinky_handler ( const union request * request,
struct response * response )
static

Handler for TT_SMC_MSG_BLINKY messages.

Blinks the red led.

Parameters
requestPointer to the host request message, use request->blink for structured access
Return values
0On success