EPC9143 300 W 16th Brick DC/DC Module Reference Design

Assignment of microcontroller device pins to circuit functions and signals. More...

+ Collaboration diagram for Device GPIO Assignments:
#define DBGPIN1_PORT   1
 Global abstraction labels of special circuit signal device pin assignments. More...
 
#define DBGPIN1_PIN   14
 GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More...
 
#define DBGPIN1_Set()   { _LATB14 = 1; }
 Macro instruction to set a pin state to logic HIGH. More...
 
#define DBGPIN1_Clear()   { _LATB14 = 0; }
 Macro instruction to set a pin state to logic LOW. More...
 
#define DBGPIN1_Toggle()   { _LATB14 ^= 1; }
 Macro instruction to toggle most recent pin state. More...
 
#define DBGPIN1_Init()   { _LATB14 = 0; _TRISB14 = 0; }
 Macro instruction initializing the specified GPIO as input or output. More...
 
#define DBGPIN2_PORT   1
 GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc. More...
 
#define DBGPIN2_PIN   15
 GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More...
 
#define DBGPIN2_Set()   { _LATB15 = 1; }
 Macro instruction to set a pin state to logic HIGH. More...
 
#define DBGPIN2_Clear()   { _LATB15 = 0; }
 Macro instruction to set a pin state to logic LOW. More...
 
#define DBGPIN2_Toggle()   { _LATB15 ^= 1; }
 Macro instruction to toggle most recent pin state. More...
 
#define DBGPIN2_Init()   { _LATB15 = 0; _TRISB15 = 0; }
 Macro instruction initializing the specified GPIO as input or output. More...
 
#define PWRGOOD_PORT   1
 GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc. More...
 
#define PWRGOOD_PIN   1
 GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc. More...
 
#define PWRGOOD_Set()   { _LATB1 = 1; }
 Macro instruction to set a pin state to logic HIGH. More...
 
#define PWRGOOD_Clear()   { _LATB1 = 0; }
 Macro instruction to set a pin state to logic LOW. More...
 
#define PWRGOOD_Toggle()   { _LATB1 ^= 1; }
 Macro instruction to toggle most recent pin state. More...
 
#define PWRGOOD_Init()   { _ANSELB1 = 0; _LATB1 = 0; _TRISB1 = 0; }
 Macro instruction initializing the specified GPIO as input or output. More...
 

Detailed Description

Assignment of microcontroller device pins to circuit functions and signals.

Macro Definition Documentation

◆ DBGPIN1_Clear

#define DBGPIN1_Clear ( )    { _LATB14 = 0; }

Macro instruction to set a pin state to logic LOW.

Definition at line 202 of file epc9143_r40_hwdescr.h.

◆ DBGPIN1_Init

#define DBGPIN1_Init ( )    { _LATB14 = 0; _TRISB14 = 0; }

Macro instruction initializing the specified GPIO as input or output.

Definition at line 204 of file epc9143_r40_hwdescr.h.

◆ DBGPIN1_PIN

#define DBGPIN1_PIN   14

GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.

Definition at line 200 of file epc9143_r40_hwdescr.h.

◆ DBGPIN1_PORT

#define DBGPIN1_PORT   1

Global abstraction labels of special circuit signal device pin assignments.

Description: 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. GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.

Definition at line 199 of file epc9143_r40_hwdescr.h.

◆ DBGPIN1_Set

#define DBGPIN1_Set ( )    { _LATB14 = 1; }

Macro instruction to set a pin state to logic HIGH.

Definition at line 201 of file epc9143_r40_hwdescr.h.

◆ DBGPIN1_Toggle

#define DBGPIN1_Toggle ( )    { _LATB14 ^= 1; }

Macro instruction to toggle most recent pin state.

Definition at line 203 of file epc9143_r40_hwdescr.h.

◆ DBGPIN2_Clear

#define DBGPIN2_Clear ( )    { _LATB15 = 0; }

Macro instruction to set a pin state to logic LOW.

Definition at line 212 of file epc9143_r40_hwdescr.h.

◆ DBGPIN2_Init

#define DBGPIN2_Init ( )    { _LATB15 = 0; _TRISB15 = 0; }

Macro instruction initializing the specified GPIO as input or output.

Definition at line 214 of file epc9143_r40_hwdescr.h.

◆ DBGPIN2_PIN

#define DBGPIN2_PIN   15

GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.

Definition at line 210 of file epc9143_r40_hwdescr.h.

◆ DBGPIN2_PORT

#define DBGPIN2_PORT   1

GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.

Definition at line 209 of file epc9143_r40_hwdescr.h.

◆ DBGPIN2_Set

#define DBGPIN2_Set ( )    { _LATB15 = 1; }

Macro instruction to set a pin state to logic HIGH.

Definition at line 211 of file epc9143_r40_hwdescr.h.

◆ DBGPIN2_Toggle

#define DBGPIN2_Toggle ( )    { _LATB15 ^= 1; }

Macro instruction to toggle most recent pin state.

Definition at line 213 of file epc9143_r40_hwdescr.h.

◆ PWRGOOD_Clear

#define PWRGOOD_Clear ( )    { _LATB1 = 0; }

Macro instruction to set a pin state to logic LOW.

Definition at line 221 of file epc9143_r40_hwdescr.h.

◆ PWRGOOD_Init

#define PWRGOOD_Init ( )    { _ANSELB1 = 0; _LATB1 = 0; _TRISB1 = 0; }

Macro instruction initializing the specified GPIO as input or output.

Definition at line 223 of file epc9143_r40_hwdescr.h.

◆ PWRGOOD_PIN

#define PWRGOOD_PIN   1

GPIO port pin declaration where 0=Rx0, 1=Rx1, 2=Rx3, etc.

Definition at line 219 of file epc9143_r40_hwdescr.h.

◆ PWRGOOD_PORT

#define PWRGOOD_PORT   1

GPIO port declaration where 0=Port RA, 0=Port RB, 0=Port RC, etc.

Definition at line 218 of file epc9143_r40_hwdescr.h.

◆ PWRGOOD_Set

#define PWRGOOD_Set ( )    { _LATB1 = 1; }

Macro instruction to set a pin state to logic HIGH.

Definition at line 220 of file epc9143_r40_hwdescr.h.

◆ PWRGOOD_Toggle

#define PWRGOOD_Toggle ( )    { _LATB1 ^= 1; }

Macro instruction to toggle most recent pin state.

Definition at line 222 of file epc9143_r40_hwdescr.h.