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

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

Definition at line 323 of file scc2_internals.h.


Generated by  Doxygen 1.6.0   Back to index