+DIP, add mode switching at boot
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "main.h"
|
||||
#include "hwDIP.h"
|
||||
|
||||
void drvDip_Init(void)
|
||||
{
|
||||
HW_DIP_Init();
|
||||
}
|
||||
|
||||
unsigned char drvDip_read(void)
|
||||
{
|
||||
return (unsigned char) (GPIOE->IDR >> 12);
|
||||
}
|
||||
Reference in New Issue
Block a user