mbed library sources. Supersedes mbed-src. Add PORTG support for STM32L476JG (SensorTile kit)
Fork of mbed-dev by
targets/TARGET_ONSEMI/TARGET_NCS36510/ncs36510_trng.h@154:1375a99fb16d, 2017-01-02 (annotated)
- Committer:
- shaoziyang
- Date:
- Mon Jan 02 15:52:04 2017 +0000
- Revision:
- 154:1375a99fb16d
- Parent:
- 150:02e0a0aed4ec
Mbed for ST SensorTile kit, fixed GPIOG bug, add PORTG support.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 150:02e0a0aed4ec | 1 | /** |
<> | 150:02e0a0aed4ec | 2 | ****************************************************************************** |
<> | 150:02e0a0aed4ec | 3 | * @file ncs36510_trng.h |
<> | 150:02e0a0aed4ec | 4 | * @brief Header file for ncs36510_trng_api.c. |
<> | 150:02e0a0aed4ec | 5 | * @internal |
<> | 150:02e0a0aed4ec | 6 | * @author ON Semiconductor. |
<> | 150:02e0a0aed4ec | 7 | * $Rev: $ |
<> | 150:02e0a0aed4ec | 8 | * $Date: $ |
<> | 150:02e0a0aed4ec | 9 | ****************************************************************************** |
<> | 150:02e0a0aed4ec | 10 | * Copyright 2016 Semiconductor Components Industries LLC (d/b/a ON Semiconductor). |
<> | 150:02e0a0aed4ec | 11 | * All rights reserved. This software and/or documentation is licensed by ON Semiconductor |
<> | 150:02e0a0aed4ec | 12 | * under limited terms and conditions. The terms and conditions pertaining to the software |
<> | 150:02e0a0aed4ec | 13 | * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf |
<> | 150:02e0a0aed4ec | 14 | * (ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software) and |
<> | 150:02e0a0aed4ec | 15 | * if applicable the software license agreement. Do not use this software and/or |
<> | 150:02e0a0aed4ec | 16 | * documentation unless you have carefully read and you agree to the limited terms and |
<> | 150:02e0a0aed4ec | 17 | * conditions. By using this software and/or documentation, you agree to the limited |
<> | 150:02e0a0aed4ec | 18 | * terms and conditions. |
<> | 150:02e0a0aed4ec | 19 | * |
<> | 150:02e0a0aed4ec | 20 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
<> | 150:02e0a0aed4ec | 21 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
<> | 150:02e0a0aed4ec | 22 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
<> | 150:02e0a0aed4ec | 23 | * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, |
<> | 150:02e0a0aed4ec | 24 | * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
<> | 150:02e0a0aed4ec | 25 | * @endinternal |
<> | 150:02e0a0aed4ec | 26 | * |
<> | 150:02e0a0aed4ec | 27 | * @ingroup TRNG header |
<> | 150:02e0a0aed4ec | 28 | * |
<> | 150:02e0a0aed4ec | 29 | */ |
<> | 150:02e0a0aed4ec | 30 | |
<> | 150:02e0a0aed4ec | 31 | #ifndef RANDOM_H_ |
<> | 150:02e0a0aed4ec | 32 | #define RANDOM_H_ |
<> | 150:02e0a0aed4ec | 33 | |
<> | 150:02e0a0aed4ec | 34 | #define TRNG_SLOW_MODE 0 |
<> | 150:02e0a0aed4ec | 35 | #define TRNG_FAST_MODE 1 |
<> | 150:02e0a0aed4ec | 36 | |
<> | 150:02e0a0aed4ec | 37 | #define TRNG_DISABLE 0 |
<> | 150:02e0a0aed4ec | 38 | #define TRNG_ENABLE 1 |
<> | 150:02e0a0aed4ec | 39 | |
<> | 150:02e0a0aed4ec | 40 | #define TRNG_ON_READ_EVENT 1 |
<> | 150:02e0a0aed4ec | 41 | |
<> | 150:02e0a0aed4ec | 42 | #endif /* RANDOM_H_ */ |