Sha256: c7bfcb3f683344a2985d63da2c45086763bae03275ea33ac1a86d4ce734882ac

Contents?: true

Size: 659 Bytes

Versions: 5

Compression:

Stored size: 659 Bytes

Contents

Pattern.create do
  dut.control.write(0x00000010)
  dut.swd.write(0, dut.control)
  dut.swd.write(0, 0x55, address: 4)
  dut.swd.write_dp(dut.control)
  dut.swd.write_dp(0x55, address: 4)
  dut.swd.write_ap(dut.control)
  dut.swd.write_ap(0x55, address: 4)

  # Not really supported, can't differentiate between an old-style and new-style
  # call to do things like enable read by default
  #dut.swd.read(DP, dut.control)
  #dut.swd.read(DP, 0x55, address: 4)
  dut.swd.read_dp(dut.control)
  dut.swd.read_dp(0x55, address: 4)
  dut.swd.read_ap(dut.control)
  dut.swd.read_ap(0x55, address: 4)
  dut.swd.read_dp(address: 4)
  dut.swd.read_ap(address: 4)

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
origen_swd-1.1.3 pattern/example_api.rb
origen_swd-1.1.2 pattern/example_api.rb
origen_swd-1.1.1 pattern/example_api.rb
origen_swd-1.1.0 pattern/example_api.rb
origen_swd-1.0.0 pattern/example_api.rb