mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 09:21:19 +01:00
kinetis: Use BITBAND_REG32 instead of BITBAND_REG in random_rngb.c
This commit is contained in:
parent
82d1432e07
commit
e82ba82dc3
@ -67,7 +67,7 @@ void random_poweron(void)
|
||||
}
|
||||
|
||||
/* Software reset, bit is self-clearing */
|
||||
BITBAND_REG(KINETIS_RNGB->CMD, RNG_CMD_SR_SHIFT) = 1;
|
||||
BITBAND_REG32(KINETIS_RNGB->CMD, RNG_CMD_SR_SHIFT) = 1;
|
||||
/* Set up automatic reseed */
|
||||
KINETIS_RNGB->CR = RNG_CR_AR_MASK | RNG_CR_MASKERR_MASK | RNG_CR_MASKDONE_MASK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user