mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
Merge pull request #43 from olajep/pr-txcfg-typo
elink: etx_cfg: Fix transmit mode bits typo
This commit is contained in:
commit
5dc9375ebb
@ -296,7 +296,7 @@ FIELD | DESCRIPTION
|
|||||||
| 1: ctrlmode field taken E_TXCFG
|
| 1: ctrlmode field taken E_TXCFG
|
||||||
[10] | 0: Burst mode disabled
|
[10] | 0: Burst mode disabled
|
||||||
| 1: Burst mode enabled
|
| 1: Burst mode enabled
|
||||||
[11:10] | 00: Normal transmit mode
|
[12:11] | 00: Normal transmit mode
|
||||||
| 01: GPIO direct drive mode
|
| 01: GPIO direct drive mode
|
||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
@ -136,7 +136,7 @@ module etx_cfg (/*AUTOARG*/
|
|||||||
assign ctrlmode[3:0] = tx_cfg_reg[7:4];
|
assign ctrlmode[3:0] = tx_cfg_reg[7:4];
|
||||||
assign ctrlmode_bypass = tx_cfg_reg[9];
|
assign ctrlmode_bypass = tx_cfg_reg[9];
|
||||||
assign burst_enable = tx_cfg_reg[10];
|
assign burst_enable = tx_cfg_reg[10];
|
||||||
assign gpio_enable = (tx_cfg_reg[11:10]==2'b01);
|
assign gpio_enable = (tx_cfg_reg[12:11]==2'b01);
|
||||||
|
|
||||||
//###########################
|
//###########################
|
||||||
//# STATUS REGISTER
|
//# STATUS REGISTER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user