Bar Logo 3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
 
Content
     
Loading...
Searching...
No Matches

The Pin Driver directs the operation and function of the selected device pins using dsPIC MCUs. More...

+ Collaboration diagram for Pins Driver:

Files

file  pins.c
 This is the generated driver source file for PINS driver.
 
file  pins.c
 This is the generated driver source file for PINS driver.
 

Macros

#define PIM_TP4_SetHigh()   (_LATD13 = 1)
 Sets the RD13 GPIO Pin which has a custom name of PIM_TP4 to High.
 
#define PIM_TP4_SetLow()   (_LATD13 = 0)
 Sets the RD13 GPIO Pin which has a custom name of PIM_TP4 to Low.
 
#define PIM_TP4_Toggle()   (_LATD13 ^= 1)
 Toggles the RD13 GPIO Pin which has a custom name of PIM_TP4.
 
#define PIM_TP4_GetValue()   _RD13
 Reads the value of the RD13 GPIO Pin which has a custom name of PIM_TP4.
 
#define PIM_TP4_SetDigitalInput()   (_TRISD13 = 1)
 Configures the RD13 GPIO Pin which has a custom name of PIM_TP4 as Input.
 
#define PIM_TP4_SetDigitalOutput()   (_TRISD13 = 0)
 Configures the RD13 GPIO Pin which has a custom name of PIM_TP4 as Output.
 
#define LD2_RD15_SetHigh()   (_LATD15 = 1)
 Sets the RD15 GPIO Pin which has a custom name of LD2_RD15 to High.
 
#define LD2_RD15_SetLow()   (_LATD15 = 0)
 Sets the RD15 GPIO Pin which has a custom name of LD2_RD15 to Low.
 
#define LD2_RD15_Toggle()   (_LATD15 ^= 1)
 Toggles the RD15 GPIO Pin which has a custom name of LD2_RD15.
 
#define LD2_RD15_GetValue()   _RD15
 Reads the value of the RD15 GPIO Pin which has a custom name of LD2_RD15.
 
#define LD2_RD15_SetDigitalInput()   (_TRISD15 = 1)
 Configures the RD15 GPIO Pin which has a custom name of LD2_RD15 as Input.
 
#define LD2_RD15_SetDigitalOutput()   (_TRISD15 = 0)
 Configures the RD15 GPIO Pin which has a custom name of LD2_RD15 as Output.
 
#define ACmonitorTrigger_SetHigh()   (_LATB13 = 1)
 Sets the RB13 GPIO Pin which has a custom name of ACmonitorTrigger to High.
 
#define ACmonitorTrigger_SetLow()   (_LATB13 = 0)
 Sets the RB13 GPIO Pin which has a custom name of ACmonitorTrigger to Low.
 
#define ACmonitorTrigger_Toggle()   (_LATB13 ^= 1)
 Toggles the RB13 GPIO Pin which has a custom name of ACmonitorTrigger.
 
#define ACmonitorTrigger_GetValue()   _RB13
 Reads the value of the RB13 GPIO Pin which has a custom name of ACmonitorTrigger.
 
#define ACmonitorTrigger_SetDigitalInput()   (_TRISB13 = 1)
 Configures the RB13 GPIO Pin which has a custom name of ACmonitorTrigger as Input.
 
#define ACmonitorTrigger_SetDigitalOutput()   (_TRISB13 = 0)
 Configures the RB13 GPIO Pin which has a custom name of ACmonitorTrigger as Output.
 
#define TP129_RB14_SetHigh()   (_LATB14 = 1)
 Sets the RB14 GPIO Pin which has a custom name of TP129_RB14 to High.
 
#define TP129_RB14_SetLow()   (_LATB14 = 0)
 Sets the RB14 GPIO Pin which has a custom name of TP129_RB14 to Low.
 
#define TP129_RB14_Toggle()   (_LATB14 ^= 1)
 Toggles the RB14 GPIO Pin which has a custom name of TP129_RB14.
 
#define TP129_RB14_GetValue()   _RB14
 Reads the value of the RB14 GPIO Pin which has a custom name of TP129_RB14.
 
#define TP129_RB14_SetDigitalInput()   (_TRISB14 = 1)
 Configures the RB14 GPIO Pin which has a custom name of TP129_RB14 as Input.
 
#define TP129_RB14_SetDigitalOutput()   (_TRISB14 = 0)
 Configures the RB14 GPIO Pin which has a custom name of TP129_RB14 as Output.
 
#define TP107_RC9_SetHigh()   (_LATC9 = 1)
 Sets the RC9 GPIO Pin which has a custom name of TP107_RC9 to High.
 
#define TP107_RC9_SetLow()   (_LATC9 = 0)
 Sets the RC9 GPIO Pin which has a custom name of TP107_RC9 to Low.
 
#define TP107_RC9_Toggle()   (_LATC9 ^= 1)
 Toggles the RC9 GPIO Pin which has a custom name of TP107_RC9.
 
#define TP107_RC9_GetValue()   _RC9
 Reads the value of the RC9 GPIO Pin which has a custom name of TP107_RC9.
 
#define TP107_RC9_SetDigitalInput()   (_TRISC9 = 1)
 Configures the RC9 GPIO Pin which has a custom name of TP107_RC9 as Input.
 
#define TP107_RC9_SetDigitalOutput()   (_TRISC9 = 0)
 Configures the RC9 GPIO Pin which has a custom name of TP107_RC9 as Output.
 
#define TP108_RC12_SetHigh()   (_LATC12 = 1)
 Sets the RC12 GPIO Pin which has a custom name of TP108_RC12 to High.
 
#define TP108_RC12_SetLow()   (_LATC12 = 0)
 Sets the RC12 GPIO Pin which has a custom name of TP108_RC12 to Low.
 
#define TP108_RC12_Toggle()   (_LATC12 ^= 1)
 Toggles the RC12 GPIO Pin which has a custom name of TP108_RC12.
 
#define TP108_RC12_GetValue()   _RC12
 Reads the value of the RC12 GPIO Pin which has a custom name of TP108_RC12.
 
#define TP108_RC12_SetDigitalInput()   (_TRISC12 = 1)
 Configures the RC12 GPIO Pin which has a custom name of TP108_RC12 as Input.
 
#define TP108_RC12_SetDigitalOutput()   (_TRISC12 = 0)
 Configures the RC12 GPIO Pin which has a custom name of TP108_RC12 as Output.
 
#define TP126_RC13_SetHigh()   (_LATC13 = 1)
 Sets the RC13 GPIO Pin which has a custom name of TP126_RC13 to High.
 
#define TP126_RC13_SetLow()   (_LATC13 = 0)
 Sets the RC13 GPIO Pin which has a custom name of TP126_RC13 to Low.
 
#define TP126_RC13_Toggle()   (_LATC13 ^= 1)
 Toggles the RC13 GPIO Pin which has a custom name of TP126_RC13.
 
#define TP126_RC13_GetValue()   _RC13
 Reads the value of the RC13 GPIO Pin which has a custom name of TP126_RC13.
 
#define TP126_RC13_SetDigitalInput()   (_TRISC13 = 1)
 Configures the RC13 GPIO Pin which has a custom name of TP126_RC13 as Input.
 
#define TP126_RC13_SetDigitalOutput()   (_TRISC13 = 0)
 Configures the RC13 GPIO Pin which has a custom name of TP126_RC13 as Output.
 
#define PWM_L_N_SetHigh()   (_LATD0 = 1)
 Sets the RD0 GPIO Pin which has a custom name of PWM_L_N to High.
 
#define PWM_L_N_SetLow()   (_LATD0 = 0)
 Sets the RD0 GPIO Pin which has a custom name of PWM_L_N to Low.
 
#define PWM_L_N_Toggle()   (_LATD0 ^= 1)
 Toggles the RD0 GPIO Pin which has a custom name of PWM_L_N.
 
#define PWM_L_N_GetValue()   _RD0
 Reads the value of the RD0 GPIO Pin which has a custom name of PWM_L_N.
 
#define PWM_L_N_SetDigitalInput()   (_TRISD0 = 1)
 Configures the RD0 GPIO Pin which has a custom name of PWM_L_N as Input.
 
#define PWM_L_N_SetDigitalOutput()   (_TRISD0 = 0)
 Configures the RD0 GPIO Pin which has a custom name of PWM_L_N as Output.
 
#define PWM_H_N_SetHigh()   (_LATD1 = 1)
 Sets the RD1 GPIO Pin which has a custom name of PWM_H_N to High.
 
#define PWM_H_N_SetLow()   (_LATD1 = 0)
 Sets the RD1 GPIO Pin which has a custom name of PWM_H_N to Low.
 
#define PWM_H_N_Toggle()   (_LATD1 ^= 1)
 Toggles the RD1 GPIO Pin which has a custom name of PWM_H_N.
 
#define PWM_H_N_GetValue()   _RD1
 Reads the value of the RD1 GPIO Pin which has a custom name of PWM_H_N.
 
#define PWM_H_N_SetDigitalInput()   (_TRISD1 = 1)
 Configures the RD1 GPIO Pin which has a custom name of PWM_H_N as Input.
 
#define PWM_H_N_SetDigitalOutput()   (_TRISD1 = 0)
 Configures the RD1 GPIO Pin which has a custom name of PWM_H_N as Output.
 
#define TP39_RD2_SetHigh()   (_LATD2 = 1)
 Sets the RD2 GPIO Pin which has a custom name of TP39_RD2 to High.
 
#define TP39_RD2_SetLow()   (_LATD2 = 0)
 Sets the RD2 GPIO Pin which has a custom name of TP39_RD2 to Low.
 
#define TP39_RD2_Toggle()   (_LATD2 ^= 1)
 Toggles the RD2 GPIO Pin which has a custom name of TP39_RD2.
 
#define TP39_RD2_GetValue()   _RD2
 Reads the value of the RD2 GPIO Pin which has a custom name of TP39_RD2.
 
#define TP39_RD2_SetDigitalInput()   (_TRISD2 = 1)
 Configures the RD2 GPIO Pin which has a custom name of TP39_RD2 as Input.
 
#define TP39_RD2_SetDigitalOutput()   (_TRISD2 = 0)
 Configures the RD2 GPIO Pin which has a custom name of TP39_RD2 as Output.
 
#define GPIO_Y_L_SetHigh()   (_LATD5 = 1)
 Sets the RD5 GPIO Pin which has a custom name of GPIO_Y_L to High.
 
#define GPIO_Y_L_SetLow()   (_LATD5 = 0)
 Sets the RD5 GPIO Pin which has a custom name of GPIO_Y_L to Low.
 
#define GPIO_Y_L_Toggle()   (_LATD5 ^= 1)
 Toggles the RD5 GPIO Pin which has a custom name of GPIO_Y_L.
 
#define GPIO_Y_L_GetValue()   _RD5
 Reads the value of the RD5 GPIO Pin which has a custom name of GPIO_Y_L.
 
#define GPIO_Y_L_SetDigitalInput()   (_TRISD5 = 1)
 Configures the RD5 GPIO Pin which has a custom name of GPIO_Y_L as Input.
 
#define GPIO_Y_L_SetDigitalOutput()   (_TRISD5 = 0)
 Configures the RD5 GPIO Pin which has a custom name of GPIO_Y_L as Output.
 
#define GPIO_Y_H_SetHigh()   (_LATD6 = 1)
 Sets the RD6 GPIO Pin which has a custom name of GPIO_Y_H to High.
 
#define GPIO_Y_H_SetLow()   (_LATD6 = 0)
 Sets the RD6 GPIO Pin which has a custom name of GPIO_Y_H to Low.
 
#define GPIO_Y_H_Toggle()   (_LATD6 ^= 1)
 Toggles the RD6 GPIO Pin which has a custom name of GPIO_Y_H.
 
#define GPIO_Y_H_GetValue()   _RD6
 Reads the value of the RD6 GPIO Pin which has a custom name of GPIO_Y_H.
 
#define GPIO_Y_H_SetDigitalInput()   (_TRISD6 = 1)
 Configures the RD6 GPIO Pin which has a custom name of GPIO_Y_H as Input.
 
#define GPIO_Y_H_SetDigitalOutput()   (_TRISD6 = 0)
 Configures the RD6 GPIO Pin which has a custom name of GPIO_Y_H as Output.
 
#define LED1_SetHigh()   (_LATD8 = 1)
 Sets the RD8 GPIO Pin which has a custom name of LED1 to High.
 
#define LED1_SetLow()   (_LATD8 = 0)
 Sets the RD8 GPIO Pin which has a custom name of LED1 to Low.
 
#define LED1_Toggle()   (_LATD8 ^= 1)
 Toggles the RD8 GPIO Pin which has a custom name of LED1.
 
#define LED1_GetValue()   _RD8
 Reads the value of the RD8 GPIO Pin which has a custom name of LED1.
 
#define LED1_SetDigitalInput()   (_TRISD8 = 1)
 Configures the RD8 GPIO Pin which has a custom name of LED1 as Input.
 
#define LED1_SetDigitalOutput()   (_TRISD8 = 0)
 Configures the RD8 GPIO Pin which has a custom name of LED1 as Output.
 
#define FAULT_SetHigh()   (_LATD9 = 1)
 Sets the RD9 GPIO Pin which has a custom name of FAULT to High.
 
#define FAULT_SetLow()   (_LATD9 = 0)
 Sets the RD9 GPIO Pin which has a custom name of FAULT to Low.
 
#define FAULT_Toggle()   (_LATD9 ^= 1)
 Toggles the RD9 GPIO Pin which has a custom name of FAULT.
 
#define FAULT_GetValue()   _RD9
 Reads the value of the RD9 GPIO Pin which has a custom name of FAULT.
 
#define FAULT_SetDigitalInput()   (_TRISD9 = 1)
 Configures the RD9 GPIO Pin which has a custom name of FAULT as Input.
 
#define FAULT_SetDigitalOutput()   (_TRISD9 = 0)
 Configures the RD9 GPIO Pin which has a custom name of FAULT as Output.
 
#define TP4_DPPIM_RD13_SetHigh()   (_LATD13 = 1)
 Sets the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13 to High.
 
#define TP4_DPPIM_RD13_SetLow()   (_LATD13 = 0)
 Sets the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13 to Low.
 
#define TP4_DPPIM_RD13_Toggle()   (_LATD13 ^= 1)
 Toggles the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13.
 
#define TP4_DPPIM_RD13_GetValue()   _RD13
 Reads the value of the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13.
 
#define TP4_DPPIM_RD13_SetDigitalInput()   (_TRISD13 = 1)
 Configures the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13 as Input.
 
#define TP4_DPPIM_RD13_SetDigitalOutput()   (_TRISD13 = 0)
 Configures the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13 as Output.
 
#define RELAY_SetHigh()   (_LATD14 = 1)
 Sets the RD14 GPIO Pin which has a custom name of RELAY to High.
 
#define RELAY_SetLow()   (_LATD14 = 0)
 Sets the RD14 GPIO Pin which has a custom name of RELAY to Low.
 
#define RELAY_Toggle()   (_LATD14 ^= 1)
 Toggles the RD14 GPIO Pin which has a custom name of RELAY.
 
#define RELAY_GetValue()   _RD14
 Reads the value of the RD14 GPIO Pin which has a custom name of RELAY.
 
#define RELAY_SetDigitalInput()   (_TRISD14 = 1)
 Configures the RD14 GPIO Pin which has a custom name of RELAY as Input.
 
#define RELAY_SetDigitalOutput()   (_TRISD14 = 0)
 Configures the RD14 GPIO Pin which has a custom name of RELAY as Output.
 

Functions

void PINS_Initialize (void)
 Initializes the PINS module.
 

Detailed Description

Macro Definition Documentation

◆ ACmonitorTrigger_GetValue

#define ACmonitorTrigger_GetValue ( )    _RB13
Parameters
none
Returns
none

Definition at line 79 of file pins.h.

◆ ACmonitorTrigger_SetDigitalInput

#define ACmonitorTrigger_SetDigitalInput ( )    (_TRISB13 = 1)
Parameters
none
Returns
none

Definition at line 87 of file pins.h.

◆ ACmonitorTrigger_SetDigitalOutput

#define ACmonitorTrigger_SetDigitalOutput ( )    (_TRISB13 = 0)
Parameters
none
Returns
none

Definition at line 95 of file pins.h.

◆ ACmonitorTrigger_SetHigh

#define ACmonitorTrigger_SetHigh ( )    (_LATB13 = 1)
Precondition
The RB13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 53 of file pins.h.

◆ ACmonitorTrigger_SetLow

#define ACmonitorTrigger_SetLow ( )    (_LATB13 = 0)
Precondition
The RB13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 62 of file pins.h.

◆ ACmonitorTrigger_Toggle

#define ACmonitorTrigger_Toggle ( )    (_LATB13 ^= 1)
Precondition
The RB13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 71 of file pins.h.

◆ FAULT_GetValue

#define FAULT_GetValue ( )    _RD9
Parameters
none
Returns
none

Definition at line 640 of file pins.h.

◆ FAULT_SetDigitalInput

#define FAULT_SetDigitalInput ( )    (_TRISD9 = 1)
Parameters
none
Returns
none

Definition at line 648 of file pins.h.

◆ FAULT_SetDigitalOutput

#define FAULT_SetDigitalOutput ( )    (_TRISD9 = 0)
Parameters
none
Returns
none

Definition at line 656 of file pins.h.

◆ FAULT_SetHigh

#define FAULT_SetHigh ( )    (_LATD9 = 1)
Precondition
The RD9 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 614 of file pins.h.

◆ FAULT_SetLow

#define FAULT_SetLow ( )    (_LATD9 = 0)
Precondition
The RD9 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 623 of file pins.h.

◆ FAULT_Toggle

#define FAULT_Toggle ( )    (_LATD9 ^= 1)
Precondition
The RD9 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 632 of file pins.h.

◆ GPIO_Y_H_GetValue

#define GPIO_Y_H_GetValue ( )    _RD6
Parameters
none
Returns
none

Definition at line 538 of file pins.h.

◆ GPIO_Y_H_SetDigitalInput

#define GPIO_Y_H_SetDigitalInput ( )    (_TRISD6 = 1)
Parameters
none
Returns
none

Definition at line 546 of file pins.h.

◆ GPIO_Y_H_SetDigitalOutput

#define GPIO_Y_H_SetDigitalOutput ( )    (_TRISD6 = 0)
Parameters
none
Returns
none

Definition at line 554 of file pins.h.

◆ GPIO_Y_H_SetHigh

#define GPIO_Y_H_SetHigh ( )    (_LATD6 = 1)
Precondition
The RD6 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 512 of file pins.h.

◆ GPIO_Y_H_SetLow

#define GPIO_Y_H_SetLow ( )    (_LATD6 = 0)
Precondition
The RD6 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 521 of file pins.h.

◆ GPIO_Y_H_Toggle

#define GPIO_Y_H_Toggle ( )    (_LATD6 ^= 1)
Precondition
The RD6 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 530 of file pins.h.

◆ GPIO_Y_L_GetValue

#define GPIO_Y_L_GetValue ( )    _RD5
Parameters
none
Returns
none

Definition at line 487 of file pins.h.

◆ GPIO_Y_L_SetDigitalInput

#define GPIO_Y_L_SetDigitalInput ( )    (_TRISD5 = 1)
Parameters
none
Returns
none

Definition at line 495 of file pins.h.

◆ GPIO_Y_L_SetDigitalOutput

#define GPIO_Y_L_SetDigitalOutput ( )    (_TRISD5 = 0)
Parameters
none
Returns
none

Definition at line 503 of file pins.h.

◆ GPIO_Y_L_SetHigh

#define GPIO_Y_L_SetHigh ( )    (_LATD5 = 1)
Precondition
The RD5 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 461 of file pins.h.

◆ GPIO_Y_L_SetLow

#define GPIO_Y_L_SetLow ( )    (_LATD5 = 0)
Precondition
The RD5 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 470 of file pins.h.

◆ GPIO_Y_L_Toggle

#define GPIO_Y_L_Toggle ( )    (_LATD5 ^= 1)
Precondition
The RD5 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 479 of file pins.h.

◆ LD2_RD15_GetValue

#define LD2_RD15_GetValue ( )    _RD15
Parameters
none
Returns
none

Definition at line 130 of file pins.h.

◆ LD2_RD15_SetDigitalInput

#define LD2_RD15_SetDigitalInput ( )    (_TRISD15 = 1)
Parameters
none
Returns
none

Definition at line 138 of file pins.h.

◆ LD2_RD15_SetDigitalOutput

#define LD2_RD15_SetDigitalOutput ( )    (_TRISD15 = 0)
Parameters
none
Returns
none

Definition at line 146 of file pins.h.

◆ LD2_RD15_SetHigh

#define LD2_RD15_SetHigh ( )    (_LATD15 = 1)
Precondition
The RD15 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 104 of file pins.h.

◆ LD2_RD15_SetLow

#define LD2_RD15_SetLow ( )    (_LATD15 = 0)
Precondition
The RD15 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 113 of file pins.h.

◆ LD2_RD15_Toggle

#define LD2_RD15_Toggle ( )    (_LATD15 ^= 1)
Precondition
The RD15 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 122 of file pins.h.

◆ LED1_GetValue

#define LED1_GetValue ( )    _RD8
Parameters
none
Returns
none

Definition at line 589 of file pins.h.

◆ LED1_SetDigitalInput

#define LED1_SetDigitalInput ( )    (_TRISD8 = 1)
Parameters
none
Returns
none

Definition at line 597 of file pins.h.

◆ LED1_SetDigitalOutput

#define LED1_SetDigitalOutput ( )    (_TRISD8 = 0)
Parameters
none
Returns
none

Definition at line 605 of file pins.h.

◆ LED1_SetHigh

#define LED1_SetHigh ( )    (_LATD8 = 1)
Precondition
The RD8 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 563 of file pins.h.

◆ LED1_SetLow

#define LED1_SetLow ( )    (_LATD8 = 0)
Precondition
The RD8 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 572 of file pins.h.

◆ LED1_Toggle

#define LED1_Toggle ( )    (_LATD8 ^= 1)
Precondition
The RD8 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 581 of file pins.h.

◆ PIM_TP4_GetValue

#define PIM_TP4_GetValue ( )    _RD13
Parameters
none
Returns
none

Definition at line 79 of file pins.h.

◆ PIM_TP4_SetDigitalInput

#define PIM_TP4_SetDigitalInput ( )    (_TRISD13 = 1)
Parameters
none
Returns
none

Definition at line 87 of file pins.h.

◆ PIM_TP4_SetDigitalOutput

#define PIM_TP4_SetDigitalOutput ( )    (_TRISD13 = 0)
Parameters
none
Returns
none

Definition at line 95 of file pins.h.

◆ PIM_TP4_SetHigh

#define PIM_TP4_SetHigh ( )    (_LATD13 = 1)
Precondition
The RD13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 53 of file pins.h.

◆ PIM_TP4_SetLow

#define PIM_TP4_SetLow ( )    (_LATD13 = 0)
Precondition
The RD13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 62 of file pins.h.

◆ PIM_TP4_Toggle

#define PIM_TP4_Toggle ( )    (_LATD13 ^= 1)
Precondition
The RD13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 71 of file pins.h.

◆ PWM_H_N_GetValue

#define PWM_H_N_GetValue ( )    _RD1
Parameters
none
Returns
none

Definition at line 385 of file pins.h.

◆ PWM_H_N_SetDigitalInput

#define PWM_H_N_SetDigitalInput ( )    (_TRISD1 = 1)
Parameters
none
Returns
none

Definition at line 393 of file pins.h.

◆ PWM_H_N_SetDigitalOutput

#define PWM_H_N_SetDigitalOutput ( )    (_TRISD1 = 0)
Parameters
none
Returns
none

Definition at line 401 of file pins.h.

◆ PWM_H_N_SetHigh

#define PWM_H_N_SetHigh ( )    (_LATD1 = 1)
Precondition
The RD1 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 359 of file pins.h.

◆ PWM_H_N_SetLow

#define PWM_H_N_SetLow ( )    (_LATD1 = 0)
Precondition
The RD1 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 368 of file pins.h.

◆ PWM_H_N_Toggle

#define PWM_H_N_Toggle ( )    (_LATD1 ^= 1)
Precondition
The RD1 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 377 of file pins.h.

◆ PWM_L_N_GetValue

#define PWM_L_N_GetValue ( )    _RD0
Parameters
none
Returns
none

Definition at line 334 of file pins.h.

◆ PWM_L_N_SetDigitalInput

#define PWM_L_N_SetDigitalInput ( )    (_TRISD0 = 1)
Parameters
none
Returns
none

Definition at line 342 of file pins.h.

◆ PWM_L_N_SetDigitalOutput

#define PWM_L_N_SetDigitalOutput ( )    (_TRISD0 = 0)
Parameters
none
Returns
none

Definition at line 350 of file pins.h.

◆ PWM_L_N_SetHigh

#define PWM_L_N_SetHigh ( )    (_LATD0 = 1)
Precondition
The RD0 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 308 of file pins.h.

◆ PWM_L_N_SetLow

#define PWM_L_N_SetLow ( )    (_LATD0 = 0)
Precondition
The RD0 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 317 of file pins.h.

◆ PWM_L_N_Toggle

#define PWM_L_N_Toggle ( )    (_LATD0 ^= 1)
Precondition
The RD0 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 326 of file pins.h.

◆ RELAY_GetValue

#define RELAY_GetValue ( )    _RD14
Parameters
none
Returns
none

Definition at line 742 of file pins.h.

◆ RELAY_SetDigitalInput

#define RELAY_SetDigitalInput ( )    (_TRISD14 = 1)
Parameters
none
Returns
none

Definition at line 750 of file pins.h.

◆ RELAY_SetDigitalOutput

#define RELAY_SetDigitalOutput ( )    (_TRISD14 = 0)
Parameters
none
Returns
none

Definition at line 758 of file pins.h.

◆ RELAY_SetHigh

#define RELAY_SetHigh ( )    (_LATD14 = 1)
Precondition
The RD14 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 716 of file pins.h.

◆ RELAY_SetLow

#define RELAY_SetLow ( )    (_LATD14 = 0)
Precondition
The RD14 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 725 of file pins.h.

◆ RELAY_Toggle

#define RELAY_Toggle ( )    (_LATD14 ^= 1)
Precondition
The RD14 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 734 of file pins.h.

◆ TP107_RC9_GetValue

#define TP107_RC9_GetValue ( )    _RC9
Parameters
none
Returns
none

Definition at line 181 of file pins.h.

◆ TP107_RC9_SetDigitalInput

#define TP107_RC9_SetDigitalInput ( )    (_TRISC9 = 1)
Parameters
none
Returns
none

Definition at line 189 of file pins.h.

◆ TP107_RC9_SetDigitalOutput

#define TP107_RC9_SetDigitalOutput ( )    (_TRISC9 = 0)
Parameters
none
Returns
none

Definition at line 197 of file pins.h.

◆ TP107_RC9_SetHigh

#define TP107_RC9_SetHigh ( )    (_LATC9 = 1)
Precondition
The RC9 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 155 of file pins.h.

◆ TP107_RC9_SetLow

#define TP107_RC9_SetLow ( )    (_LATC9 = 0)
Precondition
The RC9 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 164 of file pins.h.

◆ TP107_RC9_Toggle

#define TP107_RC9_Toggle ( )    (_LATC9 ^= 1)
Precondition
The RC9 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 173 of file pins.h.

◆ TP108_RC12_GetValue

#define TP108_RC12_GetValue ( )    _RC12
Parameters
none
Returns
none

Definition at line 232 of file pins.h.

◆ TP108_RC12_SetDigitalInput

#define TP108_RC12_SetDigitalInput ( )    (_TRISC12 = 1)
Parameters
none
Returns
none

Definition at line 240 of file pins.h.

◆ TP108_RC12_SetDigitalOutput

#define TP108_RC12_SetDigitalOutput ( )    (_TRISC12 = 0)
Parameters
none
Returns
none

Definition at line 248 of file pins.h.

◆ TP108_RC12_SetHigh

#define TP108_RC12_SetHigh ( )    (_LATC12 = 1)
Precondition
The RC12 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 206 of file pins.h.

◆ TP108_RC12_SetLow

#define TP108_RC12_SetLow ( )    (_LATC12 = 0)
Precondition
The RC12 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 215 of file pins.h.

◆ TP108_RC12_Toggle

#define TP108_RC12_Toggle ( )    (_LATC12 ^= 1)
Precondition
The RC12 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 224 of file pins.h.

◆ TP126_RC13_GetValue

#define TP126_RC13_GetValue ( )    _RC13
Parameters
none
Returns
none

Definition at line 283 of file pins.h.

◆ TP126_RC13_SetDigitalInput

#define TP126_RC13_SetDigitalInput ( )    (_TRISC13 = 1)
Parameters
none
Returns
none

Definition at line 291 of file pins.h.

◆ TP126_RC13_SetDigitalOutput

#define TP126_RC13_SetDigitalOutput ( )    (_TRISC13 = 0)
Parameters
none
Returns
none

Definition at line 299 of file pins.h.

◆ TP126_RC13_SetHigh

#define TP126_RC13_SetHigh ( )    (_LATC13 = 1)
Precondition
The RC13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 257 of file pins.h.

◆ TP126_RC13_SetLow

#define TP126_RC13_SetLow ( )    (_LATC13 = 0)
Precondition
The RC13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 266 of file pins.h.

◆ TP126_RC13_Toggle

#define TP126_RC13_Toggle ( )    (_LATC13 ^= 1)
Precondition
The RC13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 275 of file pins.h.

◆ TP129_RB14_GetValue

#define TP129_RB14_GetValue ( )    _RB14
Parameters
none
Returns
none

Definition at line 130 of file pins.h.

◆ TP129_RB14_SetDigitalInput

#define TP129_RB14_SetDigitalInput ( )    (_TRISB14 = 1)
Parameters
none
Returns
none

Definition at line 138 of file pins.h.

◆ TP129_RB14_SetDigitalOutput

#define TP129_RB14_SetDigitalOutput ( )    (_TRISB14 = 0)
Parameters
none
Returns
none

Definition at line 146 of file pins.h.

◆ TP129_RB14_SetHigh

#define TP129_RB14_SetHigh ( )    (_LATB14 = 1)
Precondition
The RB14 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 104 of file pins.h.

◆ TP129_RB14_SetLow

#define TP129_RB14_SetLow ( )    (_LATB14 = 0)
Precondition
The RB14 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 113 of file pins.h.

◆ TP129_RB14_Toggle

#define TP129_RB14_Toggle ( )    (_LATB14 ^= 1)
Precondition
The RB14 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 122 of file pins.h.

◆ TP39_RD2_GetValue

#define TP39_RD2_GetValue ( )    _RD2
Parameters
none
Returns
none

Definition at line 436 of file pins.h.

◆ TP39_RD2_SetDigitalInput

#define TP39_RD2_SetDigitalInput ( )    (_TRISD2 = 1)
Parameters
none
Returns
none

Definition at line 444 of file pins.h.

◆ TP39_RD2_SetDigitalOutput

#define TP39_RD2_SetDigitalOutput ( )    (_TRISD2 = 0)
Parameters
none
Returns
none

Definition at line 452 of file pins.h.

◆ TP39_RD2_SetHigh

#define TP39_RD2_SetHigh ( )    (_LATD2 = 1)
Precondition
The RD2 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 410 of file pins.h.

◆ TP39_RD2_SetLow

#define TP39_RD2_SetLow ( )    (_LATD2 = 0)
Precondition
The RD2 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 419 of file pins.h.

◆ TP39_RD2_Toggle

#define TP39_RD2_Toggle ( )    (_LATD2 ^= 1)
Precondition
The RD2 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 428 of file pins.h.

◆ TP4_DPPIM_RD13_GetValue

#define TP4_DPPIM_RD13_GetValue ( )    _RD13
Parameters
none
Returns
none

Definition at line 691 of file pins.h.

◆ TP4_DPPIM_RD13_SetDigitalInput

#define TP4_DPPIM_RD13_SetDigitalInput ( )    (_TRISD13 = 1)
Parameters
none
Returns
none

Definition at line 699 of file pins.h.

◆ TP4_DPPIM_RD13_SetDigitalOutput

#define TP4_DPPIM_RD13_SetDigitalOutput ( )    (_TRISD13 = 0)
Parameters
none
Returns
none

Definition at line 707 of file pins.h.

◆ TP4_DPPIM_RD13_SetHigh

#define TP4_DPPIM_RD13_SetHigh ( )    (_LATD13 = 1)
Precondition
The RD13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 665 of file pins.h.

◆ TP4_DPPIM_RD13_SetLow

#define TP4_DPPIM_RD13_SetLow ( )    (_LATD13 = 0)
Precondition
The RD13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 674 of file pins.h.

◆ TP4_DPPIM_RD13_Toggle

#define TP4_DPPIM_RD13_Toggle ( )    (_LATD13 ^= 1)
Precondition
The RD13 must be set as Output Pin
Parameters
none
Returns
none

Definition at line 683 of file pins.h.

Function Documentation

◆ PINS_Initialize()

void PINS_Initialize ( void )
Parameters
none
Returns
none

Setting the Output Latch SFR(s)

Setting the GPIO Direction SFR(s)

Setting the Weak Pull Up and Weak Pull Down SFR(s)

Setting the Open Drain SFR(s)

Setting the Analog/Digital Configuration SFR(s)

Set the PPS

Setting the Output Latch SFR(s)

Setting the GPIO Direction SFR(s)

Setting the Weak Pull Up and Weak Pull Down SFR(s)

Setting the Open Drain SFR(s)

Setting the Analog/Digital Configuration SFR(s)

Set the PPS BY HAND

Definition at line 46 of file pins.c.

+ Here is the caller graph for this function: