Solar panel
Loading...
Searching...
No Matches
tmr2.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 TMR2_H
48
#define TMR2_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
103
void
TMR2_Initialize
(
void
);
104
132
void
TMR2_StartTimer
(
void
);
133
164
void
TMR2_StopTimer
(
void
);
165
199
uint8_t
TMR2_ReadTimer
(
void
);
200
238
void
TMR2_WriteTimer
(uint8_t timerVal);
239
290
void
TMR2_LoadPeriodRegister
(uint8_t periodVal);
291
325
bool
TMR2_HasOverflowOccured
(
void
);
326
327
#ifdef __cplusplus
// Provide C++ Compatibility
328
329
}
330
331
#endif
332
333
#endif
// TMR2_H
TMR2_StopTimer
void TMR2_StopTimer(void)
Definition:
tmr2.c:85
TMR2_Initialize
void TMR2_Initialize(void)
Definition:
tmr2.c:62
TMR2_ReadTimer
uint8_t TMR2_ReadTimer(void)
Definition:
tmr2.c:91
TMR2_LoadPeriodRegister
void TMR2_LoadPeriodRegister(uint8_t periodVal)
Definition:
tmr2.c:106
TMR2_HasOverflowOccured
bool TMR2_HasOverflowOccured(void)
Definition:
tmr2.c:111
TMR2_WriteTimer
void TMR2_WriteTimer(uint8_t timerVal)
Definition:
tmr2.c:100
TMR2_StartTimer
void TMR2_StartTimer(void)
Definition:
tmr2.c:79
mcc_generated_files
tmr2.h
Generated by
1.9.6