Solar panel
Loading...
Searching...
No Matches
tmr0.h
Go to the documentation of this file.
1
24/*
25 (c) 2018 Microchip Technology Inc. and its subsidiaries.
26
27 Subject to your compliance with these terms, you may use Microchip software and any
28 derivatives exclusively with Microchip products. It is your responsibility to comply with third party
29 license terms applicable to your use of third party software (including open source software) that
30 may accompany Microchip software.
31
32 THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER
33 EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY
34 IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS
35 FOR A PARTICULAR PURPOSE.
36
37 IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
38 INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
39 WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP
40 HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO
41 THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL
42 CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT
43 OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS
44 SOFTWARE.
45*/
46
47#ifndef TMR0_H
48#define TMR0_H
49
54#include <stdint.h>
55#include <stdbool.h>
56
57#ifdef __cplusplus // Provide C++ Compatibility
58
59 extern "C" {
60
61#endif
62
63
64
100void TMR0_Initialize(void);
101
129void TMR0_StartTimer(void);
130
161void TMR0_StopTimer(void);
162
163
197uint16_t TMR0_ReadTimer(void);
198
236void TMR0_WriteTimer(uint16_t timerVal);
237
272void TMR0_Reload(void);
273
290void TMR0_ISR(void);
291
292
309 void TMR0_SetInterruptHandler(void (* InterruptHandler)(void));
310
327extern void (*TMR0_InterruptHandler)(void);
328
346
347#ifdef __cplusplus // Provide C++ Compatibility
348
349 }
350
351#endif
352
353#endif // TMR0_H
void TMR0_SetInterruptHandler(void(*InterruptHandler)(void))
Definition: tmr0.c:156
void TMR0_StartTimer(void)
Definition: tmr0.c:97
void TMR0_Reload(void)
Definition: tmr0.c:129
void TMR0_Initialize(void)
Definition: tmr0.c:67
void TMR0_WriteTimer(uint16_t timerVal)
Definition: tmr0.c:122
void(* TMR0_InterruptHandler)(void)
Definition: tmr0.c:58
void TMR0_ISR(void)
Definition: tmr0.c:136
void TMR0_DefaultInterruptHandler(void)
Definition: tmr0.c:160
uint16_t TMR0_ReadTimer(void)
Definition: tmr0.c:109
void TMR0_StopTimer(void)
Definition: tmr0.c:103