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 ns_timer_stub.h Source File

ns_timer_stub.h

00001 /*
00002  * Copyright (c) 2015 ARM Limited. All Rights Reserved.
00003  *
00004  * SPDX-License-Identifier: Apache-2.0
00005  *
00006  * Licensed under the Apache License, Version 2.0 (the "License"); you may
00007  * not use this file except in compliance with the License.
00008  * You may obtain a copy of the License at
00009  *
00010  * http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00014  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 #ifndef __NS_TIMER_STUB_H__
00019 #define __NS_TIMER_STUB_H__
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 typedef struct {
00026     int8_t int8_value;
00027     void (*cb)(int8_t, uint16_t);
00028 } ns_timer_stub_def;
00029 
00030 extern ns_timer_stub_def ns_timer_stub;
00031 
00032 #ifdef __cplusplus
00033 }
00034 #endif
00035 
00036 #endif // __NS_TIMER_STUB_H__