mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 12:24:07 -04:00
Update to V4.3.0 as described in http://www.FreeRTOS.org/History.txt
This commit is contained in:
parent
67d0d1ec3b
commit
017740b75a
352 changed files with 71690 additions and 71398 deletions
|
@ -1,46 +1,46 @@
|
|||
/*
|
||||
* These files are taken from the MCF523X source code example package
|
||||
* which is available on the Freescale website. Freescale explicitly
|
||||
* grants the redistribution and modification of these source files.
|
||||
* The complete licensing information is available in the file
|
||||
* LICENSE_FREESCALE.TXT.
|
||||
*
|
||||
* File: mcf523x_rng.h
|
||||
* Purpose: Register and bit definitions for the MCF523X
|
||||
*
|
||||
* Notes:
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __MCF523X_RNG_H__
|
||||
#define __MCF523X_RNG_H__
|
||||
|
||||
/*********************************************************************
|
||||
*
|
||||
* Random Number Generator (RNG)
|
||||
*
|
||||
*********************************************************************/
|
||||
|
||||
/* Register read/write macros */
|
||||
#define MCF_RNG_RNGCR (*(vuint32*)(void*)(&__IPSBAR[0x1A0000]))
|
||||
#define MCF_RNG_RNGSR (*(vuint32*)(void*)(&__IPSBAR[0x1A0004]))
|
||||
#define MCF_RNG_RNGER (*(vuint32*)(void*)(&__IPSBAR[0x1A0008]))
|
||||
#define MCF_RNG_RNGOUT (*(vuint32*)(void*)(&__IPSBAR[0x1A000C]))
|
||||
|
||||
/* Bit definitions and macros for MCF_RNG_RNGCR */
|
||||
#define MCF_RNG_RNGCR_GO (0x00000001)
|
||||
#define MCF_RNG_RNGCR_HA (0x00000002)
|
||||
#define MCF_RNG_RNGCR_IM (0x00000004)
|
||||
#define MCF_RNG_RNGCR_CI (0x00000008)
|
||||
|
||||
/* Bit definitions and macros for MCF_RNG_RNGSR */
|
||||
#define MCF_RNG_RNGSR_SV (0x00000001)
|
||||
#define MCF_RNG_RNGSR_LRS (0x00000002)
|
||||
#define MCF_RNG_RNGSR_FUF (0x00000004)
|
||||
#define MCF_RNG_RNGSR_EI (0x00000008)
|
||||
#define MCF_RNG_RNGSR_OFL(x) (((x)&0x000000FF)<<8)
|
||||
#define MCF_RNG_RNGSR_OFS(x) (((x)&0x000000FF)<<16)
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
#endif /* __MCF523X_RNG_H__ */
|
||||
/*
|
||||
* These files are taken from the MCF523X source code example package
|
||||
* which is available on the Freescale website. Freescale explicitly
|
||||
* grants the redistribution and modification of these source files.
|
||||
* The complete licensing information is available in the file
|
||||
* LICENSE_FREESCALE.TXT.
|
||||
*
|
||||
* File: mcf523x_rng.h
|
||||
* Purpose: Register and bit definitions for the MCF523X
|
||||
*
|
||||
* Notes:
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __MCF523X_RNG_H__
|
||||
#define __MCF523X_RNG_H__
|
||||
|
||||
/*********************************************************************
|
||||
*
|
||||
* Random Number Generator (RNG)
|
||||
*
|
||||
*********************************************************************/
|
||||
|
||||
/* Register read/write macros */
|
||||
#define MCF_RNG_RNGCR (*(vuint32*)(void*)(&__IPSBAR[0x1A0000]))
|
||||
#define MCF_RNG_RNGSR (*(vuint32*)(void*)(&__IPSBAR[0x1A0004]))
|
||||
#define MCF_RNG_RNGER (*(vuint32*)(void*)(&__IPSBAR[0x1A0008]))
|
||||
#define MCF_RNG_RNGOUT (*(vuint32*)(void*)(&__IPSBAR[0x1A000C]))
|
||||
|
||||
/* Bit definitions and macros for MCF_RNG_RNGCR */
|
||||
#define MCF_RNG_RNGCR_GO (0x00000001)
|
||||
#define MCF_RNG_RNGCR_HA (0x00000002)
|
||||
#define MCF_RNG_RNGCR_IM (0x00000004)
|
||||
#define MCF_RNG_RNGCR_CI (0x00000008)
|
||||
|
||||
/* Bit definitions and macros for MCF_RNG_RNGSR */
|
||||
#define MCF_RNG_RNGSR_SV (0x00000001)
|
||||
#define MCF_RNG_RNGSR_LRS (0x00000002)
|
||||
#define MCF_RNG_RNGSR_FUF (0x00000004)
|
||||
#define MCF_RNG_RNGSR_EI (0x00000008)
|
||||
#define MCF_RNG_RNGSR_OFL(x) (((x)&0x000000FF)<<8)
|
||||
#define MCF_RNG_RNGSR_OFS(x) (((x)&0x000000FF)<<16)
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
#endif /* __MCF523X_RNG_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue