Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi,
You can read to a register by using this: TSE_cmd_reg = IORD_ALTERA_TSEMAC_CMD_CONFIG(TSE_MAC_BASE); for a write: IOWR_ALTERA_TSEMAC_CMD_CONFIG(TSE_MAC_BASE,TSE_cmd_reg); JanHi,
You can read to a register by using this: TSE_cmd_reg = IORD_ALTERA_TSEMAC_CMD_CONFIG(TSE_MAC_BASE); for a write: IOWR_ALTERA_TSEMAC_CMD_CONFIG(TSE_MAC_BASE,TSE_cmd_reg); Jan