Assignment of microcontroller device pins to circuit functions and signals. More...
#define | DBGPIN1_PORT 1 |
Global abstraction labels of special circuit signal device pin assignments. More... | |
#define | DBGPIN1_PIN 5 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More... | |
#define | DBGPIN1_Get() _RB5 |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | DBGPIN1_Set() { _LATB5 = 1; } |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | DBGPIN1_Clear() { _LATB5 = 0; } |
Macro instruction to set a pin state to logic LOW. More... | |
#define | DBGPIN1_Toggle() { _LATB5 ^= 1; } |
Macro instruction to toggle most recent pin state. More... | |
#define | DBGPIN1_Init() { _LATB5 = 0; _TRISB5 = 0; } |
Macro instruction initializing the specified GPIO as output. More... | |
#define | DBGPIN1_Dispose() { _LATB5 = 1; _TRISB5 = 1; } |
Macro instruction initializing the specified GPIO as input. More... | |
#define | DBGPIN2_PORT 1 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc. More... | |
#define | DBGPIN2_PIN 11 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More... | |
#define | DBGPIN2_Get() _RB11 |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | DBGPIN2_Set() { _LATB11 = 1; } |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | DBGPIN2_Clear() { _LATB11 = 0; } |
Macro instruction to set a pin state to logic LOW. More... | |
#define | DBGPIN2_Toggle() { _LATB11 ^= 1; } |
Macro instruction to toggle most recent pin state. More... | |
#define | DBGPIN2_Init() { _LATB11 = 0; _TRISB11 = 0; } |
Macro instruction initializing the specified GPIO as output. More... | |
#define | DBGPIN2_Dispose() { _LATB11 = 1; _TRISB11 = 1; } |
Macro instruction initializing the specified GPIO as input. More... | |
#define | DBGLED_PORT 1 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc. More... | |
#define | DBGLED_PIN 6 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More... | |
#define | DBGLED_Get() _RB6 |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | DBGLED_Set() { _LATB6 = 1; } |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | DBGLED_Clear() { _LATB6 = 0; } |
Macro instruction to set a pin state to logic LOW. More... | |
#define | DBGLED_Toggle() { _LATB6 ^= 1; } |
Macro instruction to toggle most recent pin state. More... | |
#define | DBGLED_Init() { _LATB6 = 0; _TRISB6 = 0; } |
Macro instruction initializing the specified GPIO as output. More... | |
#define | DBGLED_Dispose() { _LATB6 = 1; _TRISB6 = 1; } |
Macro instruction initializing the specified GPIO as input. More... | |
#define | PWRGOOD_PORT 1 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc. More... | |
#define | PWRGOOD_PIN 12 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More... | |
#define | PWRGOOD_Get() { _RB12; } |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | PWRGOOD_Set() { _LATB12 = 1; } |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | PWRGOOD_Clear() { _LATB12 = 0; } |
Macro instruction to set a pin state to logic LOW. More... | |
#define | PWRGOOD_Toggle() { _LATB12 ^= 1; } |
Macro instruction to toggle most recent pin state. More... | |
#define | PWRGOOD_Init() { _LATB12 = 0; _TRISB12 = 0; } |
Macro instruction initializing the specified GPIO as output. More... | |
#define | PWRGOOD_Dispose() { _LATB12 = 1; _TRISB12 = 1; } |
Macro instruction initializing the specified GPIO as input. More... | |
#define | SW_USER_PORT 3 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc. More... | |
#define | SW_USER_PIN 1 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More... | |
#define | SW_USER_Get() _RD1 |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | SW_USER_Set() { _LATD1 = 1; } |
Macro instruction to set a pin state to logic HIGH. More... | |
#define | SW_USER_Clear() { _LATD1 = 0; } |
Macro instruction to set a pin state to logic LOW. More... | |
#define | SW_USER_Toggle() { _LATD1 ^= 1; } |
Macro instruction to toggle most recent pin state. More... | |
#define | SW_USER_Init() { _LATD1 = 1; _TRISD1 = 1; } |
Macro instruction initializing the specified GPIO as input. More... | |
#define | SW_USER_Dispose() { _LATD1 = 1; _TRISD1 = 1; } |
Macro instruction initializing the specified GPIO as input. More... | |
Assignment of microcontroller device pins to circuit functions and signals.
#define DBGLED_Clear | ( | ) | { _LATB6 = 0; } |
Macro instruction to set a pin state to logic LOW.
Definition at line 222 of file dpsk3_hwdescr.h.
#define DBGLED_Dispose | ( | ) | { _LATB6 = 1; _TRISB6 = 1; } |
Macro instruction initializing the specified GPIO as input.
Definition at line 225 of file dpsk3_hwdescr.h.
#define DBGLED_Get | ( | ) | _RB6 |
Macro instruction to set a pin state to logic HIGH.
Definition at line 220 of file dpsk3_hwdescr.h.
#define DBGLED_Init | ( | ) | { _LATB6 = 0; _TRISB6 = 0; } |
Macro instruction initializing the specified GPIO as output.
Definition at line 224 of file dpsk3_hwdescr.h.
#define DBGLED_PIN 6 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.
Definition at line 219 of file dpsk3_hwdescr.h.
#define DBGLED_PORT 1 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.
Definition at line 218 of file dpsk3_hwdescr.h.
#define DBGLED_Set | ( | ) | { _LATB6 = 1; } |
Macro instruction to set a pin state to logic HIGH.
Definition at line 221 of file dpsk3_hwdescr.h.
#define DBGLED_Toggle | ( | ) | { _LATB6 ^= 1; } |
Macro instruction to toggle most recent pin state.
Definition at line 223 of file dpsk3_hwdescr.h.
#define DBGPIN1_Clear | ( | ) | { _LATB5 = 0; } |
Macro instruction to set a pin state to logic LOW.
Definition at line 200 of file dpsk3_hwdescr.h.
#define DBGPIN1_Dispose | ( | ) | { _LATB5 = 1; _TRISB5 = 1; } |
Macro instruction initializing the specified GPIO as input.
Enable debugging pin TP52 on DPSK3
Definition at line 206 of file dpsk3_hwdescr.h.
#define DBGPIN1_Get | ( | ) | _RB5 |
Macro instruction to set a pin state to logic HIGH.
Definition at line 198 of file dpsk3_hwdescr.h.
#define DBGPIN1_Init | ( | ) | { _LATB5 = 0; _TRISB5 = 0; } |
Macro instruction initializing the specified GPIO as output.
Definition at line 202 of file dpsk3_hwdescr.h.
#define DBGPIN1_PIN 5 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.
Definition at line 197 of file dpsk3_hwdescr.h.
#define DBGPIN1_PORT 1 |
Global abstraction labels of special circuit signal device pin assignments.
This section is used to define labels of hardware specific signals, which are directly assigned to specific device pins. These labels will be used throughout the code and remain unchanged even if this firmware is migrated to another device or pin-out changes between hardware revisions. < Enable debugging pin TP50 on DPSK3 GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.
Definition at line 196 of file dpsk3_hwdescr.h.
#define DBGPIN1_Set | ( | ) | { _LATB5 = 1; } |
Macro instruction to set a pin state to logic HIGH.
Definition at line 199 of file dpsk3_hwdescr.h.
#define DBGPIN1_Toggle | ( | ) | { _LATB5 ^= 1; } |
Macro instruction to toggle most recent pin state.
Definition at line 201 of file dpsk3_hwdescr.h.
#define DBGPIN2_Clear | ( | ) | { _LATB11 = 0; } |
Macro instruction to set a pin state to logic LOW.
Definition at line 211 of file dpsk3_hwdescr.h.
#define DBGPIN2_Dispose | ( | ) | { _LATB11 = 1; _TRISB11 = 1; } |
Macro instruction initializing the specified GPIO as input.
Definition at line 214 of file dpsk3_hwdescr.h.
#define DBGPIN2_Get | ( | ) | _RB11 |
Macro instruction to set a pin state to logic HIGH.
Definition at line 209 of file dpsk3_hwdescr.h.
#define DBGPIN2_Init | ( | ) | { _LATB11 = 0; _TRISB11 = 0; } |
Macro instruction initializing the specified GPIO as output.
Definition at line 213 of file dpsk3_hwdescr.h.
#define DBGPIN2_PIN 11 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.
Definition at line 208 of file dpsk3_hwdescr.h.
#define DBGPIN2_PORT 1 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.
Definition at line 207 of file dpsk3_hwdescr.h.
#define DBGPIN2_Set | ( | ) | { _LATB11 = 1; } |
Macro instruction to set a pin state to logic HIGH.
Definition at line 210 of file dpsk3_hwdescr.h.
#define DBGPIN2_Toggle | ( | ) | { _LATB11 ^= 1; } |
Macro instruction to toggle most recent pin state.
Definition at line 212 of file dpsk3_hwdescr.h.
#define PWRGOOD_Clear | ( | ) | { _LATB12 = 0; } |
Macro instruction to set a pin state to logic LOW.
Definition at line 232 of file dpsk3_hwdescr.h.
#define PWRGOOD_Dispose | ( | ) | { _LATB12 = 1; _TRISB12 = 1; } |
Macro instruction initializing the specified GPIO as input.
Definition at line 235 of file dpsk3_hwdescr.h.
#define PWRGOOD_Get | ( | ) | { _RB12; } |
Macro instruction to set a pin state to logic HIGH.
Definition at line 230 of file dpsk3_hwdescr.h.
#define PWRGOOD_Init | ( | ) | { _LATB12 = 0; _TRISB12 = 0; } |
Macro instruction initializing the specified GPIO as output.
Definition at line 234 of file dpsk3_hwdescr.h.
#define PWRGOOD_PIN 12 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.
Definition at line 229 of file dpsk3_hwdescr.h.
#define PWRGOOD_PORT 1 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.
Definition at line 228 of file dpsk3_hwdescr.h.
#define PWRGOOD_Set | ( | ) | { _LATB12 = 1; } |
Macro instruction to set a pin state to logic HIGH.
Definition at line 231 of file dpsk3_hwdescr.h.
#define PWRGOOD_Toggle | ( | ) | { _LATB12 ^= 1; } |
Macro instruction to toggle most recent pin state.
Definition at line 233 of file dpsk3_hwdescr.h.
#define SW_USER_Clear | ( | ) | { _LATD1 = 0; } |
Macro instruction to set a pin state to logic LOW.
Definition at line 242 of file dpsk3_hwdescr.h.
#define SW_USER_Dispose | ( | ) | { _LATD1 = 1; _TRISD1 = 1; } |
Macro instruction initializing the specified GPIO as input.
Definition at line 245 of file dpsk3_hwdescr.h.
#define SW_USER_Get | ( | ) | _RD1 |
Macro instruction to set a pin state to logic HIGH.
Definition at line 240 of file dpsk3_hwdescr.h.
#define SW_USER_Init | ( | ) | { _LATD1 = 1; _TRISD1 = 1; } |
Macro instruction initializing the specified GPIO as input.
Definition at line 244 of file dpsk3_hwdescr.h.
#define SW_USER_PIN 1 |
GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.
Definition at line 239 of file dpsk3_hwdescr.h.
#define SW_USER_PORT 3 |
GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.
Definition at line 238 of file dpsk3_hwdescr.h.
#define SW_USER_Set | ( | ) | { _LATD1 = 1; } |
Macro instruction to set a pin state to logic HIGH.
Definition at line 241 of file dpsk3_hwdescr.h.
#define SW_USER_Toggle | ( | ) | { _LATD1 ^= 1; } |
Macro instruction to toggle most recent pin state.
Definition at line 243 of file dpsk3_hwdescr.h.