icss_gpio_cntrl_macros.inc

Brief:  Macros for controlling GPIO pins

Macros
m_set_bank01

Set the output value of GPIO Instance's bank01 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_SET_DATA01
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_clr_bank01

Clear the output value of GPIO Instance's bank01 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_CLR_DATA01
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_dir_bank01

Set the direction of GPIO Instance's bank01 gpio pins 0h = output 1h = input

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_DIR01
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_set_bank23

Set the output value of GPIO Instance's bank23 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_SET_DATA23
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_clr_bank23

Clear the output value of GPIO Instance's bank23 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_CLR_DATA23
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_dir_bank23

Set the direction of GPIO Instance's bank23 gpio pins 0h = output 1h = input

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_DIR23
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_set_bank45

Set the output value of GPIO Instance's bank45 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_SET_DATA45
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_clr_bank45

Clear the output value of GPIO Instance's bank45 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_CLR_DATA45
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_dir_bank45

Set the direction of GPIO Instance's bank45 gpio pins 0h = output 1h = input

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_DIR45
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_set_bank67

Set the output value of GPIO Instance's bank67 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_SET_DATA67
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_clr_bank67

Clear the output value of GPIO Instance's bank67 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_CLR_DATA67
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_dir_bank67

Set the direction of GPIO Instance's bank67 gpio pins 0h = output 1h = input

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_DIR67
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_set_bank8

Set the output value of GPIO Instance's bank8 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_SET_DATA8
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_clr_bank8

Clear the output value of GPIO Instance's bank8 gpio pins

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_CLR_DATA8
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register

m_dir_bank8

Set the direction of GPIO Instance's bank8 gpio pins 0h = output 1h = input

PeakCycles

6 cycles

Registers

2 Registers required in TEMP_REG defined by user

PseudoCode
Write bank_data to register GPIO_INSTANCE + GPIO_DIR8
Parameters
TEMP_REG

Register Structure with atleast 2 Registers

GPIO_INSTANCE

Base address of the corresponding GPIO Instance (Peripheral Identification Register)

bank_data

Value to write to the bank register