Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

misleading sbdata0 description #976

Open
@bcstrongx

Description

@bcstrongx

Just need a simple clarification here. In the description for sbdata0 I see this:

`Writes to this register start the following:

  1. Set sbbusy.
  2. Perform a bus write of the new value of sbdata to sbaddress.
  3. If the write succeeded and sbautoincrement is set, increment sbaddress.
  4. Clear sbbusy.`

Number 2 seems to suggest that the value in register sbdata is copied to register sbaddress. It should probably be more explicit that the value in sbdata is written to the address held in sbaddress. Immediately following the text above is a better explanation, see 3a:

`Reads from this register start the following:

  1. "Return" the data.
  2. Set sbbusy.
  3. If sbreadondata is set:
    a. Perform a system bus read from the address contained in sbaddress, placing the result in
    sbdata.
    b. If sbautoincrement is set and the read was successful, increment sbaddress.
  4. Clear sbbusy.`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions