cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find documentation for CAN_TxHeaderTypeDef, etc ?

F1EPY
Associate

Originally a comment on the "Using CAN (bxCAN) in Normal mode with STM32 microcontrollers (Part 2)" Knowledge Base article.

Moved to the forum for better visibility & discussion.


Hi,

I just using STM32CubeIDE for 2 or 3 days. I am doing a test with a Nucleo-L476RG and CAN bus. With you help, your sample, I make my board talking with other board of mine.

Just a question, maybe a *** one, where can I gather informations about CAN_TxHeaderTypeDefuint32_t RTR  or uint32_t IDE... and so mutch other symbols? Is there a documentation about?

Best Regards,

Maurice.

2 REPLIES 2
Andrew Neil
Super User

The documentation will be in the User Manual for the Software Pack; eg, STM32CubeL4:

https://www.st.com/en/embedded-software/stm32cubel4.html#documentation

 

AndrewNeil_0-1768663025942.png

https://www.st.com/resource/en/user_manual/um1884-description-of-stm32l4l4-hal-and-lowlayer-drivers-stmicroelectronics.pdf#page=123

 

It is also present in the source code - use your IDE's 'Go To Definition' feature to find it

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
F1EPY
Associate

Well, I found the answer... all what I want is defined in stm32l4xx_hal_can.h file...