drivers: entropy: nrf5: Clarify Kconfig options
Clarify the difference between the buffer length and threshold Kconfig options available in the nRF5 entropy driver. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
d155e88624
commit
aaa9cf2edd
1 changed files with 12 additions and 8 deletions
|
@ -28,29 +28,33 @@ config ENTROPY_NRF5_THR_THRESHOLD
|
||||||
int "Thread-mode low-water threshold"
|
int "Thread-mode low-water threshold"
|
||||||
range 4 255
|
range 4 255
|
||||||
help
|
help
|
||||||
Low-water threshold in bytes to trigger entropy generation for
|
Low water-mark threshold in bytes to trigger entropy generation for
|
||||||
thread mode consumers.
|
thread mode consumers. As soon as the number of available bytes in the
|
||||||
|
buffer goes below this number hardware entropy generation will be
|
||||||
|
started.
|
||||||
|
|
||||||
config ENTROPY_NRF5_ISR_THRESHOLD
|
config ENTROPY_NRF5_ISR_THRESHOLD
|
||||||
int "ISR low-water threshold"
|
int "ISR low-water threshold"
|
||||||
range 12 255
|
range 12 255
|
||||||
help
|
help
|
||||||
Low-water threshold in bytes to trigger entropy generation for
|
Low water-mark threshold in bytes to trigger entropy generation for
|
||||||
ISR consumers.
|
ISR consumers. As soon as the number of available bytes in the
|
||||||
|
buffer goes below this number hardware entropy generation will be
|
||||||
|
started.
|
||||||
|
|
||||||
config ENTROPY_NRF5_THR_BUF_LEN
|
config ENTROPY_NRF5_THR_BUF_LEN
|
||||||
int "Thread-mode buffer length"
|
int "Thread-mode buffer length"
|
||||||
range ENTROPY_NRF5_THR_THRESHOLD 255
|
range ENTROPY_NRF5_THR_THRESHOLD 255
|
||||||
help
|
help
|
||||||
Buffer length in bytes to pre-store entropy generation for
|
Buffer length in bytes used to store entropy bytes generated by the
|
||||||
thread mode consumers.
|
hardware to make them ready for thread mode consumers.
|
||||||
|
|
||||||
config ENTROPY_NRF5_ISR_BUF_LEN
|
config ENTROPY_NRF5_ISR_BUF_LEN
|
||||||
int "ISR buffer length"
|
int "ISR buffer length"
|
||||||
range ENTROPY_NRF5_ISR_THRESHOLD 255
|
range ENTROPY_NRF5_ISR_THRESHOLD 255
|
||||||
help
|
help
|
||||||
Buffer length in bytes to pre-store entropy generation for
|
Buffer length in bytes used to store entropy bytes generated by the
|
||||||
ISR consumers.
|
hardware to make them ready for ISR consumers.
|
||||||
|
|
||||||
config ENTROPY_NRF5_PRI
|
config ENTROPY_NRF5_PRI
|
||||||
int "RNG interrupt priority"
|
int "RNG interrupt priority"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue