Skip to Main Content Skip to Search
Product Documentation

DM642 EVM FPGA GPIO Write - Write to GPIO registers

Library

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ DM642 EVM

Description

Added to your model, this block writes logical values to the GPIO registers you select in the dialog box, reading the data from an upstream block as an unsigned 8-bit word.

The DM642 EVM offers eight general purpose I/O registers that you can read from and write to for your needs. Each I/O pin represents either a logical 0 or 1 depending on the signal at the pin.

An important note — you cannot read and write to the same I/O registers with the FPGA GPIO Read and FPGA GPIO Write blocks. If you write register 1 with the write block you cannot read from register 1 with the read block. This applies to all eight registers.

Dialog Box

bit 0 to bit 7

Each bit represents the logical value at one GPIO register. Bit 0 is register 0, bit 7 is register 7. Select the bits that represent the registers to write. The read and write functions cannot share the same registers. When you select a register to write to, you cannot read that register.

See Also

DM642 EVM FPGA GPIO Read

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS