Giter Club home page Giter Club logo

Comments (3)

 avatar commented on July 3, 2024

I should probably say that I'd be equally happy, at this stage, if I could set a fixed MAC and IP address. I don't need to use DHCP.

from ada_drivers_library.

Fabien-Chouteau avatar Fabien-Chouteau commented on July 3, 2024

Look closer at the definition, MACxHR are not only 32 bits words, they are record with

   subtype MACA0HR_MACA0H_Field is HAL.Short;

   --  Ethernet MAC address 0 high register
   type MACA0HR_Register is record
      --  MAC address0 high
      MACA0H         : MACA0HR_MACA0H_Field := 16#FFFF#;
      --  unspecified
      Reserved_16_30 : HAL.UInt15 := 16#10#;
      --  Read-only. Always 1
      MO             : Boolean := False;
   end record

So MACA0LR (4 bytes) plus MAC0HR.MACA0H (2 bytes) give you 6 bytes.

The definition of theses registers looks good, so I'm closing this issue.

Regards,

from ada_drivers_library.

 avatar commented on July 3, 2024

Thank you - that makes sense!

On 5 September 2016 at 19:02, Fabien Chouteau [email protected]
wrote:

Look closer at the definition, MACxHR are not only 32 bits words, they are
record with

subtype MACA0HR_MACA0H_Field is HAL.Short;

-- Ethernet MAC address 0 high register
type MACA0HR_Register is record
-- MAC address0 high
MACA0H : MACA0HR_MACA0H_Field := 16#FFFF#;
-- unspecified
Reserved_16_30 : HAL.UInt15 := 16#10#;
-- Read-only. Always 1
MO : Boolean := False;
end record

So MACA0LR (4 bytes) plus MAC0HR.MACA0H (2 bytes) give you 6 bytes.

The definition of theses registers looks good, so I'm closing this issue.

Regards,


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#50 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AESqR0B7f5GqzCntyW1E1wQZu34Ly2rzks5qnEsggaJpZM4J09GE
.

from ada_drivers_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.