MCUXpresso_LPC55S69/boards/lpcxpresso55s69/audio_examples/maestro_record/cm33_core0/main.h

36 lines
703 B
C

/*
* Copyright 2020-2021 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __MAIN_H__
#define __MAIN_H__
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "ff.h"
#include <stdbool.h>
/*******************************************************************************
* Definitions
******************************************************************************/
typedef struct _app_handle
{
TaskHandle_t shell_task_handle;
/* SD card management */
SemaphoreHandle_t sdcardSem;
volatile bool sdcardInserted;
volatile bool sdcardInsertedPrev;
FATFS fileSystem;
FIL fileObject;
} app_handle_t;
#endif /* __MAIN_H__ */