Pavel Pisa commented on a discussion on cpukit/dev/can/ctucanfd/ctucanfd.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108439

 > +#include <rtems/score/basedefs.h>
 > +
 > +#include <dev/can/can-devcommon.h>
 > +#include <dev/can/can-helpers.h>
 > +#include <dev/can/can.h>
 > +
 > +#include <dev/can/ctucanfd.h>
 > +#include "ctucanfd_kframe.h"
 > +#include "ctucanfd_kregs.h"
 > +#include "ctucanfd_txb.h"
 > +#include "ctucanfd_priv.h"
 > +
 > +#define CTUCANFD_DEBUG 1
 > +
 > +#define CTUCANFD_IF_MASK 0xFFFF
 > +#define CTUCANFD_ID 0xCAFD

This is magic number synthesized to the core. See 3.1.1 DEVICE_ID register 
description in [CTU CAN FD Core Datasheet 
Documentation](http://canbus.pages.fel.cvut.cz/ctucanfd_ip_core/doc/Datasheet.pdf).
 It is local to the CTU CAN FD driver but as it is a value not a mask, it is 
not part of generated documentation and header files.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108439
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to