How access registers on a CAN driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am using flexcan on a embedded linux and I would like to access the
values of flexcan ESR registers (error and status registers) from a C
program in user space here is the code

https://github.com/torvalds/linux/blob/master/drivers/net/can/flexcan.c#L104

What is the best way to do it? should I use socketcan in or should I
modify flexcan driver and compile it or there are other ways of doing
it?

Regards,
Pehen



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux