joey shelton / LED_Demo

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers halt_exports.h Source File

halt_exports.h

00001 /*
00002  * Copyright (c) 2015, ARM Limited, All Rights Reserved
00003  * SPDX-License-Identifier: Apache-2.0
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License"); you may
00006  * not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  * http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00013  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 #ifndef __UVISOR_API_HALT_EXPORTS_H__
00018 #define __UVISOR_API_HALT_EXPORTS_H__
00019 
00020 #define UVISOR_ERROR_INVALID_BOX_ID             (-2)
00021 #define UVISOR_ERROR_BUFFER_TOO_SMALL           (-3)
00022 #define UVISOR_ERROR_BOX_NAMESPACE_ANONYMOUS    (-4)
00023 
00024 
00025 #define UVISOR_ERROR_CLASS_MASK     (0xFFFF0000UL)
00026 #define UVISOR_ERROR_MASK           (0x0000FFFFUL)
00027 
00028 #define UVISOR_ERROR_CLASS_PAGE     (1UL << 16)
00029 
00030 typedef enum {
00031     USER_NOT_ALLOWED = 1,
00032 } THaltUserError;
00033 
00034 #endif /* __UVISOR_API_HALT_EXPORTS_H__ */