Skip to content

Commit

Permalink
adding TxDisable to _Qsfp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Oct 1, 2024
1 parent de4825d commit 3ea9a75
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/surf/devices/transceivers/_Qsfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,17 @@ def __init__(self,**kwargs):
dependencies = [self.TxPwrRaw[2*i+0],self.TxPwrRaw[2*i+1]],
))

for i in range(4):
self.add(pr.RemoteVariable(
name = f'TxDisable[{i}]',
description = 'Tx_Disable bit that allows software disable of transmitters, Writing 1 disables the laser of the channel',
offset = (86 << 2),
bitSize = 1,
bitOffset = i,
mode = 'RW',
base = pr.Bool,
))

################
# Upper Page 00h
################
Expand Down

0 comments on commit 3ea9a75

Please sign in to comment.