MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/audio_examples/maestro_usb_mic/cmd.h
2022-08-24 23:30:23 +08:00

38 lines
990 B
C

/*
* Copyright 2019-2021 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _CMD_H_
#define _CMD_H_
/*${header:start}*/
#include "main.h"
/*${header:end}*/
/*******************************************************************************
* Definitions
******************************************************************************/
/*${macro:start}*/
typedef void handleShellMessageCallback_t(void *arg);
/*${macro:end}*/
/*******************************************************************************
* Prototypes
******************************************************************************/
/*!
* @brief Common function for getting user input using shell console.
*
* @param[in] handleShellMessageCallback Callback to function which should
* handle serialized message.
* @param[in] arg Data to pass to callback handler.
*/
void shellCmd(handleShellMessageCallback_t *handleShellMessageCallback, void *arg);
/*${prototype:end}*/
#endif