smpc: remove PERIPHERAL_ID__IS_DIGITAL_PAD macro
This commit is contained in:
parent
e179ce3bf6
commit
d1b0e4568c
2
smpc.h
2
smpc.h
@ -278,7 +278,7 @@ enum sr_bit {
|
|||||||
|
|
||||||
//enum peripheral_id {
|
//enum peripheral_id {
|
||||||
#define PERIPHERAL_ID__DATA_SIZE(oreg) ((oreg >> 0) & 0b1111)
|
#define PERIPHERAL_ID__DATA_SIZE(oreg) ((oreg >> 0) & 0b1111)
|
||||||
#define PERIPHERAL_ID__IS_DIGITAL_PAD(oreg) (((oreg >> 4) & 0b1111) == 0b0000)
|
#define PERIPHERAL_ID__TYPE(oreg) ((oreg >> 4) & 0b1111)
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user