X-Git-Url: https://robinkrens.nl/gitweb/?p=cortex-from-scratch;a=blobdiff_plain;f=include%2Fsys%2Fmmap.h;h=9aae914dabca35030d5e7a59f742a95dd8a43c2e;hp=db6cf5ce726d30cecb21cc6e56f7af98b70b1a96;hb=8b8d6edcd57f69b40f430bc172e1c290a629a6a9;hpb=7036ca076ae2da712914c04409872eab2aadfbdb diff --git a/include/sys/mmap.h b/include/sys/mmap.h index db6cf5c..9aae914 100644 --- a/include/sys/mmap.h +++ b/include/sys/mmap.h @@ -59,6 +59,7 @@ /* SYSTEM CONTROL REGISTER */ #define SYSCTRL_RCC MEM_ADDR(0x40021000) #define RCC_APB1ENR MEM_ADDR(0x4002101C) // register to enable I2C +#define RCC_APB1RSTR MEM_ADDR(0x40021010) // register to reset I2C #define RCC_APB2ENR MEM_ADDR(0x40021018) // register to enable USART1 #define SYSCTRL_RIS MEM_ADDR(0x400FE050)