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"
|
||||
range 4 255
|
||||
help
|
||||
Low-water threshold in bytes to trigger entropy generation for
|
||||
thread mode consumers.
|
||||
Low water-mark threshold in bytes to trigger entropy generation for
|
||||
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
|
||||
int "ISR low-water threshold"
|
||||
range 12 255
|
||||
help
|
||||
Low-water threshold in bytes to trigger entropy generation for
|
||||
ISR consumers.
|
||||
Low water-mark threshold in bytes to trigger entropy generation for
|
||||
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
|
||||
int "Thread-mode buffer length"
|
||||
range ENTROPY_NRF5_THR_THRESHOLD 255
|
||||
help
|
||||
Buffer length in bytes to pre-store entropy generation for
|
||||
thread mode consumers.
|
||||
Buffer length in bytes used to store entropy bytes generated by the
|
||||
hardware to make them ready for thread mode consumers.
|
||||
|
||||
config ENTROPY_NRF5_ISR_BUF_LEN
|
||||
int "ISR buffer length"
|
||||
range ENTROPY_NRF5_ISR_THRESHOLD 255
|
||||
help
|
||||
Buffer length in bytes to pre-store entropy generation for
|
||||
ISR consumers.
|
||||
Buffer length in bytes used to store entropy bytes generated by the
|
||||
hardware to make them ready for ISR consumers.
|
||||
|
||||
config ENTROPY_NRF5_PRI
|
||||
int "RNG interrupt priority"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue