Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

#define SCC_BYTE_OFFSET ( bp   )     ((uint32_t)(bp) % sizeof(uint32_t))

Calculates the byte offset into a word

bp The byte (char*) pointer
The offset (0, 1, 2, or 3)

Definition at line 302 of file mxc_scc_internals.h.

Referenced by check_register_offset(), copy_from_scc(), and copy_to_scc().

Generated by  Doxygen 1.6.0   Back to index