File tree Expand file tree Collapse file tree
arch/ARM/STM32/devices/stm32f7x Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1099,4 +1099,25 @@ package body STM32.Device is
10991099 RCC_Periph.AHB1ENR.CRCEN := True;
11001100 end Enable_Clock ;
11011101
1102+ -- -----------------
1103+ -- Disable_Clock --
1104+ -- -----------------
1105+
1106+ procedure Disable_Clock (This : in out CRC_32) is
1107+ pragma Unreferenced (This);
1108+ begin
1109+ RCC_Periph.AHB1ENR.CRCEN := False;
1110+ end Disable_Clock ;
1111+
1112+ -- ---------
1113+ -- Reset --
1114+ -- ---------
1115+
1116+ procedure Reset (This : in out CRC_32) is
1117+ pragma Unreferenced (This);
1118+ begin
1119+ RCC_Periph.AHB1RSTR.CRCRST := True;
1120+ RCC_Periph.AHB1RSTR.CRCRST := False;
1121+ end Reset ;
1122+
11021123end STM32.Device ;
Original file line number Diff line number Diff line change @@ -551,6 +551,10 @@ package STM32.Device is
551551
552552 procedure Enable_Clock (This : in out CRC_32);
553553
554+ procedure Disable_Clock (This : in out CRC_32);
555+
556+ procedure Reset (This : in out CRC_32);
557+
554558 -- ---------
555559 -- SDMMC --
556560 -- ---------
You can’t perform that action at this time.
0 commit comments