3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
Content
Loading...
Searching...
No Matches
reset_types.h
Go to the documentation of this file.
1
17
/*
18
© [2024] Microchip Technology Inc. and its subsidiaries.
19
20
Subject to your compliance with these terms, you may use Microchip
21
software and any derivatives exclusively with Microchip products.
22
You are responsible for complying with 3rd party license terms
23
applicable to your use of 3rd party software (including open source
24
software) that may accompany Microchip software. SOFTWARE IS ?AS IS.?
25
NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS
26
SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,
27
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
28
WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
29
INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY
30
KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
31
MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE
32
FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP?S
33
TOTAL LIABILITY ON ALL CLAIMS RELATED TO THE SOFTWARE WILL NOT
34
EXCEED AMOUNT OF FEES, IF ANY, YOU PAID DIRECTLY TO MICROCHIP FOR
35
THIS SOFTWARE.
36
*/
37
38
#ifndef RESET_TYPES_H
39
#define RESET_TYPES_H
40
46
enum
RESET_TYPES
47
{
48
RESET_ERROR_RCON_TRAPR
= 1,
49
RESET_ERROR_RCON_IOPUWR
= 2,
50
RESET_ERROR_RCON_CM
= 3,
51
RESET_ERROR_RCON_WDTO_ISR
= 4
52
};
53
59
enum
RESET_MASKS
60
{
61
RESET_MASK_POR
= 0x0001,
62
RESET_MASK_WDTO
= 0x0010,
63
RESET_MASK_SWR
= 0x0040,
64
RESET_MASK_EXTR
= 0x0080,
65
RESET_MASK_CM
= 0x0200,
66
RESET_MASK_IOPUWR
= 0x4000,
67
RESET_MASK_TRAPR
= 0x8000,
68
};
69
70
#endif
/* RESET_TYPES_H */
71
RESET_MASKS
RESET_MASKS
Defines the RESET cause mask location
Definition
reset_types.h:60
RESET_TYPES
RESET_TYPES
Defines the RCON error types.
Definition
reset_types.h:47
RESET_MASK_WDTO
@ RESET_MASK_WDTO
Definition
reset_types.h:62
RESET_MASK_EXTR
@ RESET_MASK_EXTR
Definition
reset_types.h:64
RESET_MASK_SWR
@ RESET_MASK_SWR
Definition
reset_types.h:63
RESET_MASK_CM
@ RESET_MASK_CM
Definition
reset_types.h:65
RESET_MASK_IOPUWR
@ RESET_MASK_IOPUWR
Definition
reset_types.h:66
RESET_MASK_TRAPR
@ RESET_MASK_TRAPR
Definition
reset_types.h:67
RESET_MASK_POR
@ RESET_MASK_POR
Definition
reset_types.h:61
RESET_ERROR_RCON_WDTO_ISR
@ RESET_ERROR_RCON_WDTO_ISR
Definition
reset_types.h:51
RESET_ERROR_RCON_CM
@ RESET_ERROR_RCON_CM
Definition
reset_types.h:50
RESET_ERROR_RCON_IOPUWR
@ RESET_ERROR_RCON_IOPUWR
Definition
reset_types.h:49
RESET_ERROR_RCON_TRAPR
@ RESET_ERROR_RCON_TRAPR
Definition
reset_types.h:48
© Copyright 1998-2022 Microchip Technology Inc. All rights reserved.