mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-30 14:52:17 +00:00
Update bcm2835_thermal.c
This commit is contained in:
parent
c62bd33d58
commit
16a2f255e2
@ -25,7 +25,7 @@
|
||||
|
||||
#define BCM2835_TS_TSENSCTL_PRWDW BIT(0)
|
||||
#define BCM2835_TS_TSENSCTL_RSTB BIT(1)
|
||||
|
||||
#define BCM2835_TS_TSENSCTL_CLC BIT(4)
|
||||
/*
|
||||
* bandgap reference voltage in 6 mV increments
|
||||
* 000b = 1178 mV, 001b = 1184 mV, ... 111b = 1220 mV
|
||||
@ -40,7 +40,7 @@
|
||||
#define BCM2835_TS_TSENSCTL_EN_INT BIT(5)
|
||||
#define BCM2835_TS_TSENSCTL_DIRECT BIT(6)
|
||||
#define BCM2835_TS_TSENSCTL_CLR_INT BIT(7)
|
||||
#define BCM2835_TS_TSENSCTL_THOLD_SHIFT 8
|
||||
#define BCM2835_TS_TSENSCTL_THOLD_SHIFT 6
|
||||
#define BCM2835_TS_TSENSCTL_THOLD_BITS 10
|
||||
#define BCM2835_TS_TSENSCTL_THOLD_MASK \
|
||||
GENMASK(BCM2835_TS_TSENSCTL_THOLD_BITS + \
|
||||
|
Loading…
Reference in New Issue
Block a user