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

#define SCC_WORD_PTR ( bp   )     (((uint32_t)(bp)) & ~(sizeof(uint32_t)-1))

Converts (by rounding down) a byte pointer into a word pointer

Parameters:
bp The byte (char*) pointer
Returns:
The word (uint32_t) as though it were an aligned (uint32_t*)

Definition at line 309 of file mxc_scc_internals.h.

Referenced by copy_from_scc(), and copy_to_scc().


Generated by  Doxygen 1.6.0   Back to index