You copied the Doc URL to your clipboard.

__attribute((packed)) type attribute

The packed type attribute specifies that a type must have the smallest possible alignment.

Note

This type attribute is a GNU compiler extension that is supported by the ARM compiler.

Errors

The compiler generates a warning message if you use this attribute in a typedef.