Digital Power Starter Kit 3 Firmware
dsPIC33C Boost Converter Voltage Mode Control Example
BOOST_GPIO_INSTANCE_s Struct Reference

GPIO instance of the converter control GPIO. More...

#include <power_control/devices/dev_boost_typedef.h>

+ Collaboration diagram for BOOST_GPIO_INSTANCE_s:

Data Fields

volatile bool enabled
 Specifies, if this IO is used or not. More...
 
volatile uint16_t port
 GPIO port instance number (0=Port RA, 0=Port RB, 0=Port RC, etc.) More...
 
volatile uint16_t pin
 GPIO port pin number. More...
 
volatile uint16_t polarity
 Output polarity, where 0=ACTIVE HIGH, 1=ACTIVE_LOW. More...
 
volatile uint16_t io_type
 Input/Output definition (0=push-pull output, 1=input, 2=open-drain output) More...
 

Detailed Description

GPIO instance of the converter control GPIO.

Definition at line 497 of file dev_boost_typedef.h.

Field Documentation

◆ enabled

volatile bool enabled

Specifies, if this IO is used or not.

Definition at line 499 of file dev_boost_typedef.h.

◆ io_type

volatile uint16_t io_type

Input/Output definition (0=push-pull output, 1=input, 2=open-drain output)

Definition at line 503 of file dev_boost_typedef.h.

◆ pin

volatile uint16_t pin

GPIO port pin number.

Definition at line 501 of file dev_boost_typedef.h.

◆ polarity

volatile uint16_t polarity

Output polarity, where 0=ACTIVE HIGH, 1=ACTIVE_LOW.

Definition at line 502 of file dev_boost_typedef.h.

◆ port

volatile uint16_t port

GPIO port instance number (0=Port RA, 0=Port RB, 0=Port RC, etc.)

Definition at line 500 of file dev_boost_typedef.h.


The documentation for this struct was generated from the following file: