Electronic Load  1.0
Programmable Constant Current Sink
Data Fields
ftestPortsStruct Struct Reference

Holds the test declarations for one Port. More...

Data Fields

volatile uint8_t * ddr
 Address of the DDRc-register. More...
 
volatile uint8_t * pin
 Address of the PINx-register. More...
 
volatile uint8_t * port
 Address of the PORTx-register. More...
 
uint8_t testMask
 Bit mask of which pins to test. All 1-bits are tested. More...
 

Detailed Description

Holds the test declarations for one Port.

You have to set up an array of this struct containing ALL ports in ascending order (even if the port is not tested at all) since the index will be interpreted as PORTA, B, C and so on

Field Documentation

◆ port

volatile uint8_t* port

Address of the PORTx-register.

◆ pin

volatile uint8_t* pin

Address of the PINx-register.

◆ ddr

volatile uint8_t* ddr

Address of the DDRc-register.

◆ testMask

uint8_t testMask

Bit mask of which pins to test. All 1-bits are tested.


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