mirror of
https://github.com/Retropex/sys-clk.git
synced 2025-06-04 07:52:30 +02:00
22 lines
773 B
C
22 lines
773 B
C
/*
|
|
* --------------------------------------------------------------------------
|
|
* "THE BEER-WARE LICENSE" (Revision 42):
|
|
* <p-sam@d3vs.net>, <natinusala@gmail.com>, <m4x@m4xw.net>
|
|
* wrote this file. As long as you retain this notice you can do whatever you
|
|
* want with this stuff. If you meet any of us some day, and you think this
|
|
* stuff is worth it, you can buy us a beer in return. - The sys-clk authors
|
|
* --------------------------------------------------------------------------
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define SYSCLK_ERROR_MODULE 388
|
|
#define SYSCLK_ERROR(desc) ((SYSCLK_ERROR_MODULE & 0x1FF) | (SysClkError_##desc & 0x1FFF)<<9)
|
|
|
|
typedef enum
|
|
{
|
|
SysClkError_Generic = 0,
|
|
SysClkError_ConfigNotLoaded = 1,
|
|
SysClkError_ConfigSaveFailed = 2,
|
|
} SysClkError;
|