diff --git a/access_control_python/__pycache__/access_control.cpython-311.pyc b/access_control_python/__pycache__/access_control.cpython-311.pyc
index cf8aadf..023b18b 100644
Binary files a/access_control_python/__pycache__/access_control.cpython-311.pyc and b/access_control_python/__pycache__/access_control.cpython-311.pyc differ
diff --git a/access_control_python/__pycache__/face_processing.cpython-311.pyc b/access_control_python/__pycache__/face_processing.cpython-311.pyc
index 9945fe6..b99e133 100644
Binary files a/access_control_python/__pycache__/face_processing.cpython-311.pyc and b/access_control_python/__pycache__/face_processing.cpython-311.pyc differ
diff --git a/access_control_python/access_control.py b/access_control_python/access_control.py
index 5ad8d53..55a4863 100644
--- a/access_control_python/access_control.py
+++ b/access_control_python/access_control.py
@@ -5,22 +5,33 @@ from threading import Thread
class access_control:
_in_payloads = []
_read_buffer = []
- _door_state: bool = 0
+ _door_state: bool = False
serial_adapter: serial.Serial
+ _scan_active: bool = False
+ _read_active = True
def __init__(self, serial_port: str):
self.serial_adapter = serial.Serial(serial_port,baudrate=9600)
- #Thread(target=self.read_serial).start()
- #Thread(target=self._process_payload).start()
- def read_serial(self):
+ Thread(target=self.read_serial).start()
+ Thread(target=self._process_payload).start()
+ #Thread(target=self._state_requester).start()
+
+ def _state_requester(self):
while True:
- if self.serial_adapter.in_waiting:
- in_byte = self.serial_adapter.read(1)
- if(in_byte==b'\xFF'):
- self._in_payloads.append(self._read_buffer)
- self._read_buffer = []
- else:
- self._read_buffer.append(in_byte)
- time.sleep(0.01)
+ if self._read_active:
+ self._request_door_state()
+ self._request_scan_state()
+ time.sleep(1)
+
+ def read_serial(self):
+ while True:
+ if self.serial_adapter.in_waiting>0:
+ in_byte = self.serial_adapter.read(1)
+ if(in_byte==b'\xFF'):
+ self._in_payloads.append(self._read_buffer)
+ self._read_buffer = []
+ else:
+ self._read_buffer.append(in_byte)
+ time.sleep(0.01)
def _process_payload(self):
while True:
self._process_payload_once()
@@ -30,11 +41,18 @@ class access_control:
def _process_payload_once(self):
if(len(self._in_payloads)>0):
payload = self._in_payloads.pop(0)
- if(payload[0]==b'\x01'):
- if(payload[1]==b'\x00'):
- self._door_state = True
- elif(payload[1]==b'\01'):
- self._door_state = False
+ if len(payload)>0:
+ if(payload[0]==b'\x01'):
+ if(payload[1]==b'\x00'):
+ self._door_state = True
+ elif(payload[1]==b'\01'):
+ self._door_state = False
+ elif(payload[0]==b'\x02'):
+ if(payload[1]==b'\x00'):
+ self._scan_active = False
+ elif(payload[1]==b'\01'):
+ self._scan_active = True
+
def light_on(self):
packet = bytearray()
@@ -53,11 +71,18 @@ class access_control:
packet.append(0x01)
packet.append(0xFF)
self.serial_adapter.write(packet)
+
+ def _request_scan_state(self):
+ packet = bytearray()
+ packet.append(0x03)
+ packet.append(0xFF)
+ self.serial_adapter.write(packet)
def get_door_state(self) -> bool:
- self._request_door_state()
- time.sleep(0.05)
return self._door_state
+ def get_scan_state(self) -> bool:
+ return self._scan_active
+
def lock_door(self):
packet = bytearray()
packet.append(0x02)
diff --git a/access_control_python/face_processing.py b/access_control_python/face_processing.py
index fbaa624..030e032 100644
--- a/access_control_python/face_processing.py
+++ b/access_control_python/face_processing.py
@@ -5,8 +5,8 @@ import requests
import json
#api_server = "http://localhost:5000"
-#api_server = "http://192.168.0.239:5000"
-api_server = "https://racist.siwatsystem.com"
+api_server = "http://192.168.0.239"
+#api_server = "https://racist.siwatsystem.com"
def analyze_face(img):
endpoint = api_server +"/process_image"
diff --git a/access_control_python/main.py b/access_control_python/main.py
index 8b4406a..407475f 100644
--- a/access_control_python/main.py
+++ b/access_control_python/main.py
@@ -28,10 +28,13 @@ while True:
time.sleep(1)
#Try to identify face
- faces = fp.identify_face(img, target_condidence=0.6)
- if(len(faces)>0):
- print("Door Unlocked!, Locking in 5 seconds")
- stm32.unlock_door()
- time.sleep(5)
- stm32.lock_door()
- print("Door Locked!")
+ if stm32.get_scan_state():
+ print("SCAN ACTIVE!")
+ faces = fp.identify_face(img, target_condidence=0.6)
+ if(len(faces)>0):
+ print("Door Unlocked!, Locking in 5 seconds")
+ stm32.unlock_door()
+ time.sleep(5)
+ stm32.lock_door()
+ print("Door Locked!")
+ print("DONE")
diff --git a/access_control_python/mcu_test.py b/access_control_python/mcu_test.py
index dbd13e9..49def66 100644
--- a/access_control_python/mcu_test.py
+++ b/access_control_python/mcu_test.py
@@ -10,6 +10,10 @@ while True:
stm32.lock_door()
if(cmd == 'unlock'):
stm32.unlock_door()
+ if(cmd == 'scan_state'):
+ print(stm32.get_scan_state())
+ if(cmd == 'door_state'):
+ print(stm32.get_door_state())
#stm32.unlock_door()
time.sleep(1)
#door_state = False
diff --git a/access_control_stm32/.mxproject b/access_control_stm32/.mxproject
index 0ec63c1..57f8abe 100644
--- a/access_control_stm32/.mxproject
+++ b/access_control_stm32/.mxproject
@@ -1,8 +1,8 @@
[PreviousLibFiles]
-LibFiles=Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_bus.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_system.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_utils.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dmamux.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usart.h;Middlewares\Third_Party\FreeRTOS\Source\include\croutine.h;Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h;Middlewares\Third_Party\FreeRTOS\Source\include\event_groups.h;Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h;Middlewares\Third_Party\FreeRTOS\Source\include\list.h;Middlewares\Third_Party\FreeRTOS\Source\include\message_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_prototypes.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h;Middlewares\Third_Party\FreeRTOS\Source\include\portable.h;Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h;Middlewares\Third_Party\FreeRTOS\Source\include\queue.h;Middlewares\Third_Party\FreeRTOS\Source\include\semphr.h;Middlewares\Third_Party\FreeRTOS\Source\include\stack_macros.h;Middlewares\Third_Party\FreeRTOS\Source\include\StackMacros.h;Middlewares\Third_Party\FreeRTOS\Source\include\stream_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\task.h;Middlewares\Third_Party\FreeRTOS\Source\include\timers.h;Middlewares\Third_Party\FreeRTOS\Source\include\atomic.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_mpool.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_os2.h;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\portmacro.h;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_bus.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_system.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_utils.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dmamux.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usart.h;Middlewares\Third_Party\FreeRTOS\Source\include\croutine.h;Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h;Middlewares\Third_Party\FreeRTOS\Source\include\event_groups.h;Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h;Middlewares\Third_Party\FreeRTOS\Source\include\list.h;Middlewares\Third_Party\FreeRTOS\Source\include\message_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_prototypes.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h;Middlewares\Third_Party\FreeRTOS\Source\include\portable.h;Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h;Middlewares\Third_Party\FreeRTOS\Source\include\queue.h;Middlewares\Third_Party\FreeRTOS\Source\include\semphr.h;Middlewares\Third_Party\FreeRTOS\Source\include\stack_macros.h;Middlewares\Third_Party\FreeRTOS\Source\include\StackMacros.h;Middlewares\Third_Party\FreeRTOS\Source\include\stream_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\task.h;Middlewares\Third_Party\FreeRTOS\Source\include\timers.h;Middlewares\Third_Party\FreeRTOS\Source\include\atomic.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_mpool.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_os2.h;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\portmacro.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f411xe.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
+LibFiles=Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_bus.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_system.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_utils.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dmamux.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usart.h;Middlewares\Third_Party\FreeRTOS\Source\include\croutine.h;Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h;Middlewares\Third_Party\FreeRTOS\Source\include\event_groups.h;Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h;Middlewares\Third_Party\FreeRTOS\Source\include\list.h;Middlewares\Third_Party\FreeRTOS\Source\include\message_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_prototypes.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h;Middlewares\Third_Party\FreeRTOS\Source\include\portable.h;Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h;Middlewares\Third_Party\FreeRTOS\Source\include\queue.h;Middlewares\Third_Party\FreeRTOS\Source\include\semphr.h;Middlewares\Third_Party\FreeRTOS\Source\include\stack_macros.h;Middlewares\Third_Party\FreeRTOS\Source\include\StackMacros.h;Middlewares\Third_Party\FreeRTOS\Source\include\stream_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\task.h;Middlewares\Third_Party\FreeRTOS\Source\include\timers.h;Middlewares\Third_Party\FreeRTOS\Source\include\atomic.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_mpool.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_os2.h;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\portmacro.h;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_adc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_bus.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_system.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_utils.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dmamux.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usart.h;Middlewares\Third_Party\FreeRTOS\Source\include\croutine.h;Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h;Middlewares\Third_Party\FreeRTOS\Source\include\event_groups.h;Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h;Middlewares\Third_Party\FreeRTOS\Source\include\list.h;Middlewares\Third_Party\FreeRTOS\Source\include\message_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_prototypes.h;Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h;Middlewares\Third_Party\FreeRTOS\Source\include\portable.h;Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h;Middlewares\Third_Party\FreeRTOS\Source\include\queue.h;Middlewares\Third_Party\FreeRTOS\Source\include\semphr.h;Middlewares\Third_Party\FreeRTOS\Source\include\stack_macros.h;Middlewares\Third_Party\FreeRTOS\Source\include\StackMacros.h;Middlewares\Third_Party\FreeRTOS\Source\include\stream_buffer.h;Middlewares\Third_Party\FreeRTOS\Source\include\task.h;Middlewares\Third_Party\FreeRTOS\Source\include\timers.h;Middlewares\Third_Party\FreeRTOS\Source\include\atomic.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_mpool.h;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\freertos_os2.h;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\portmacro.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f411xe.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
[PreviousUsedCubeIDEFiles]
-SourceFiles=Core\Src\main.c;Core\Src\freertos.c;Core\Src\stm32f4xx_it.c;Core\Src\stm32f4xx_hal_msp.c;Core\Src\stm32f4xx_hal_timebase_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Core\Src\system_stm32f4xx.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Core\Src\system_stm32f4xx.c;;;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;
+SourceFiles=Core\Src\main.c;Core\Src\freertos.c;Core\Src\stm32f4xx_it.c;Core\Src\stm32f4xx_hal_msp.c;Core\Src\stm32f4xx_hal_timebase_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_adc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Core\Src\system_stm32f4xx.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_adc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Core\Src\system_stm32f4xx.c;;;Middlewares\Third_Party\FreeRTOS\Source\croutine.c;Middlewares\Third_Party\FreeRTOS\Source\event_groups.c;Middlewares\Third_Party\FreeRTOS\Source\list.c;Middlewares\Third_Party\FreeRTOS\Source\queue.c;Middlewares\Third_Party\FreeRTOS\Source\stream_buffer.c;Middlewares\Third_Party\FreeRTOS\Source\tasks.c;Middlewares\Third_Party\FreeRTOS\Source\timers.c;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c;Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang\heap_4.c;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c;
HeaderPath=Drivers\STM32F4xx_HAL_Driver\Inc;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy;Middlewares\Third_Party\FreeRTOS\Source\include;Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2;Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F;Drivers\CMSIS\Device\ST\STM32F4xx\Include;Drivers\CMSIS\Include;Core\Inc;
CDefines=USE_HAL_DRIVER;STM32F411xE;USE_HAL_DRIVER;USE_HAL_DRIVER;
diff --git a/access_control_stm32/.settings/language.settings.xml b/access_control_stm32/.settings/language.settings.xml
index 20511cb..4038738 100644
--- a/access_control_stm32/.settings/language.settings.xml
+++ b/access_control_stm32/.settings/language.settings.xml
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
diff --git a/access_control_stm32/Core/Inc/stm32f4xx_hal_conf.h b/access_control_stm32/Core/Inc/stm32f4xx_hal_conf.h
index 0514b7b..0cc01db 100644
--- a/access_control_stm32/Core/Inc/stm32f4xx_hal_conf.h
+++ b/access_control_stm32/Core/Inc/stm32f4xx_hal_conf.h
@@ -38,7 +38,7 @@
#define HAL_MODULE_ENABLED
/* #define HAL_CRYP_MODULE_ENABLED */
-/* #define HAL_ADC_MODULE_ENABLED */
+#define HAL_ADC_MODULE_ENABLED
/* #define HAL_CAN_MODULE_ENABLED */
/* #define HAL_CRC_MODULE_ENABLED */
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */
diff --git a/access_control_stm32/Core/Inc/stm32f4xx_it.h b/access_control_stm32/Core/Inc/stm32f4xx_it.h
index 5d8679e..cea38c9 100644
--- a/access_control_stm32/Core/Inc/stm32f4xx_it.h
+++ b/access_control_stm32/Core/Inc/stm32f4xx_it.h
@@ -52,6 +52,7 @@ void MemManage_Handler(void);
void BusFault_Handler(void);
void UsageFault_Handler(void);
void DebugMon_Handler(void);
+void ADC_IRQHandler(void);
void TIM1_UP_TIM10_IRQHandler(void);
/* USER CODE BEGIN EFP */
diff --git a/access_control_stm32/Core/Src/main.c b/access_control_stm32/Core/Src/main.c
index 498d90b..250bb05 100644
--- a/access_control_stm32/Core/Src/main.c
+++ b/access_control_stm32/Core/Src/main.c
@@ -55,16 +55,38 @@
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
+ADC_HandleTypeDef hadc1;
+
UART_HandleTypeDef huart2;
/* Definitions for mainTask */
osThreadId_t mainTaskHandle;
-const osThreadAttr_t mainTask_attributes = { .name = "mainTask", .stack_size =
- 128 * 4, .priority = (osPriority_t) osPriorityNormal, };
+const osThreadAttr_t mainTask_attributes = {
+ .name = "mainTask",
+ .stack_size = 128 * 4,
+ .priority = (osPriority_t) osPriorityNormal,
+};
/* Definitions for doorHandler */
osThreadId_t doorHandlerHandle;
-const osThreadAttr_t doorHandler_attributes = { .name = "doorHandler",
- .stack_size = 128 * 4, .priority = (osPriority_t) osPriorityLow, };
+const osThreadAttr_t doorHandler_attributes = {
+ .name = "doorHandler",
+ .stack_size = 128 * 4,
+ .priority = (osPriority_t) osPriorityHigh,
+};
+/* Definitions for StateSendTask */
+osThreadId_t StateSendTaskHandle;
+const osThreadAttr_t StateSendTask_attributes = {
+ .name = "StateSendTask",
+ .stack_size = 128 * 4,
+ .priority = (osPriority_t) osPriorityLow,
+};
+/* Definitions for ADCReqTask */
+osThreadId_t ADCReqTaskHandle;
+const osThreadAttr_t ADCReqTask_attributes = {
+ .name = "ADCReqTask",
+ .stack_size = 128 * 4,
+ .priority = (osPriority_t) osPriorityLow,
+};
/* USER CODE BEGIN PV */
uint8_t uart_buffer[10];
uint8_t uart_index = 0;
@@ -76,14 +98,20 @@ bool door_lock_state_command = false;
bool door_lock_waiting = false;
bool alarm_active = false;
+bool scan_active = false;
+uint16_t adc_val = 0;
+int flag_uart_cmd = 99;
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
static void MX_USART2_UART_Init(void);
+static void MX_ADC1_Init(void);
void StartMainTask(void *argument);
void startDoorHandleTask(void *argument);
+void StartStateSendTask(void *argument);
+void StartADCReqTask(void *argument);
/* USER CODE BEGIN PFP */
@@ -91,205 +119,273 @@ void startDoorHandleTask(void *argument);
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
-
+void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc) {
+ adc_val = HAL_ADC_GetValue(&hadc1);
+ scan_active = adc_val < 1000;
+}
/* USER CODE END 0 */
/**
- * @brief The application entry point.
- * @retval int
- */
-int main(void) {
- /* USER CODE BEGIN 1 */
+ * @brief The application entry point.
+ * @retval int
+ */
+int main(void)
+{
+ /* USER CODE BEGIN 1 */
- /* USER CODE END 1 */
+ /* USER CODE END 1 */
- /* MCU Configuration--------------------------------------------------------*/
+ /* MCU Configuration--------------------------------------------------------*/
- /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- HAL_Init();
+ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
+ HAL_Init();
- /* USER CODE BEGIN Init */
+ /* USER CODE BEGIN Init */
- /* USER CODE END Init */
+ /* USER CODE END Init */
- /* Configure the system clock */
- SystemClock_Config();
+ /* Configure the system clock */
+ SystemClock_Config();
- /* USER CODE BEGIN SysInit */
+ /* USER CODE BEGIN SysInit */
- /* USER CODE END SysInit */
+ /* USER CODE END SysInit */
- /* Initialize all configured peripherals */
- MX_GPIO_Init();
- MX_USART2_UART_Init();
- /* USER CODE BEGIN 2 */
+ /* Initialize all configured peripherals */
+ MX_GPIO_Init();
+ MX_USART2_UART_Init();
+ MX_ADC1_Init();
+ /* USER CODE BEGIN 2 */
memset(uart_buffer, 0, 10);
- /* USER CODE END 2 */
+ /* USER CODE END 2 */
- /* Init scheduler */
- osKernelInitialize();
+ /* Init scheduler */
+ osKernelInitialize();
- /* USER CODE BEGIN RTOS_MUTEX */
+ /* USER CODE BEGIN RTOS_MUTEX */
/* add mutexes, ... */
- /* USER CODE END RTOS_MUTEX */
+ /* USER CODE END RTOS_MUTEX */
- /* USER CODE BEGIN RTOS_SEMAPHORES */
+ /* USER CODE BEGIN RTOS_SEMAPHORES */
/* add semaphores, ... */
- /* USER CODE END RTOS_SEMAPHORES */
+ /* USER CODE END RTOS_SEMAPHORES */
- /* USER CODE BEGIN RTOS_TIMERS */
+ /* USER CODE BEGIN RTOS_TIMERS */
/* start timers, add new ones, ... */
- /* USER CODE END RTOS_TIMERS */
+ /* USER CODE END RTOS_TIMERS */
- /* USER CODE BEGIN RTOS_QUEUES */
+ /* USER CODE BEGIN RTOS_QUEUES */
/* add queues, ... */
- /* USER CODE END RTOS_QUEUES */
+ /* USER CODE END RTOS_QUEUES */
- /* Create the thread(s) */
- /* creation of mainTask */
- mainTaskHandle = osThreadNew(StartMainTask, NULL, &mainTask_attributes);
+ /* Create the thread(s) */
+ /* creation of mainTask */
+ mainTaskHandle = osThreadNew(StartMainTask, NULL, &mainTask_attributes);
- /* creation of doorHandler */
- doorHandlerHandle = osThreadNew(startDoorHandleTask, NULL,
- &doorHandler_attributes);
+ /* creation of doorHandler */
+ doorHandlerHandle = osThreadNew(startDoorHandleTask, NULL, &doorHandler_attributes);
- /* USER CODE BEGIN RTOS_THREADS */
+ /* creation of StateSendTask */
+ StateSendTaskHandle = osThreadNew(StartStateSendTask, NULL, &StateSendTask_attributes);
+
+ /* creation of ADCReqTask */
+ ADCReqTaskHandle = osThreadNew(StartADCReqTask, NULL, &ADCReqTask_attributes);
+
+ /* USER CODE BEGIN RTOS_THREADS */
/* add threads, ... */
- /* USER CODE END RTOS_THREADS */
+ /* USER CODE END RTOS_THREADS */
- /* USER CODE BEGIN RTOS_EVENTS */
+ /* USER CODE BEGIN RTOS_EVENTS */
/* add events, ... */
- /* USER CODE END RTOS_EVENTS */
+ /* USER CODE END RTOS_EVENTS */
- /* Start scheduler */
- osKernelStart();
+ /* Start scheduler */
+ osKernelStart();
- /* We should never get here as control is now taken by the scheduler */
- /* Infinite loop */
- /* USER CODE BEGIN WHILE */
+ /* We should never get here as control is now taken by the scheduler */
+ /* Infinite loop */
+ /* USER CODE BEGIN WHILE */
while (1) {
}
- /* USER CODE END WHILE */
+ /* USER CODE END WHILE */
- /* USER CODE BEGIN 3 */
+ /* USER CODE BEGIN 3 */
- /* USER CODE END 3 */
+ /* USER CODE END 3 */
}
/**
- * @brief System Clock Configuration
- * @retval None
- */
-void SystemClock_Config(void) {
- RCC_OscInitTypeDef RCC_OscInitStruct = { 0 };
- RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 };
+ * @brief System Clock Configuration
+ * @retval None
+ */
+void SystemClock_Config(void)
+{
+ RCC_OscInitTypeDef RCC_OscInitStruct = {0};
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- /** Configure the main internal regulator output voltage
- */
- __HAL_RCC_PWR_CLK_ENABLE();
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
+ /** Configure the main internal regulator output voltage
+ */
+ __HAL_RCC_PWR_CLK_ENABLE();
+ __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- /** Initializes the RCC Oscillators according to the specified parameters
- * in the RCC_OscInitTypeDef structure.
- */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
- RCC_OscInitStruct.PLL.PLLM = 16;
- RCC_OscInitStruct.PLL.PLLN = 336;
- RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
- RCC_OscInitStruct.PLL.PLLQ = 4;
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) {
- Error_Handler();
- }
+ /** Initializes the RCC Oscillators according to the specified parameters
+ * in the RCC_OscInitTypeDef structure.
+ */
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
+ RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
+ RCC_OscInitStruct.PLL.PLLM = 16;
+ RCC_OscInitStruct.PLL.PLLN = 336;
+ RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
+ RCC_OscInitStruct.PLL.PLLQ = 4;
+ if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ {
+ Error_Handler();
+ }
- /** Initializes the CPU, AHB and APB buses clocks
- */
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
- | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
+ /** Initializes the CPU, AHB and APB buses clocks
+ */
+ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
+ |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
+ RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
+ RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
+ RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) {
- Error_Handler();
- }
+ if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK)
+ {
+ Error_Handler();
+ }
}
/**
- * @brief USART2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_USART2_UART_Init(void) {
+ * @brief ADC1 Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_ADC1_Init(void)
+{
- /* USER CODE BEGIN USART2_Init 0 */
+ /* USER CODE BEGIN ADC1_Init 0 */
- /* USER CODE END USART2_Init 0 */
+ /* USER CODE END ADC1_Init 0 */
- /* USER CODE BEGIN USART2_Init 1 */
+ ADC_ChannelConfTypeDef sConfig = {0};
- /* USER CODE END USART2_Init 1 */
- huart2.Instance = USART2;
- huart2.Init.BaudRate = 9600;
- huart2.Init.WordLength = UART_WORDLENGTH_8B;
- huart2.Init.StopBits = UART_STOPBITS_1;
- huart2.Init.Parity = UART_PARITY_NONE;
- huart2.Init.Mode = UART_MODE_TX_RX;
- huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- huart2.Init.OverSampling = UART_OVERSAMPLING_16;
- if (HAL_UART_Init(&huart2) != HAL_OK) {
- Error_Handler();
- }
- /* USER CODE BEGIN USART2_Init 2 */
+ /* USER CODE BEGIN ADC1_Init 1 */
- /* USER CODE END USART2_Init 2 */
+ /* USER CODE END ADC1_Init 1 */
+
+ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
+ */
+ hadc1.Instance = ADC1;
+ hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;
+ hadc1.Init.Resolution = ADC_RESOLUTION_12B;
+ hadc1.Init.ScanConvMode = DISABLE;
+ hadc1.Init.ContinuousConvMode = DISABLE;
+ hadc1.Init.DiscontinuousConvMode = DISABLE;
+ hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
+ hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
+ hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
+ hadc1.Init.NbrOfConversion = 1;
+ hadc1.Init.DMAContinuousRequests = DISABLE;
+ hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
+ if (HAL_ADC_Init(&hadc1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ /** Configure for the selected ADC regular channel its corresponding rank in the sequencer and its sample time.
+ */
+ sConfig.Channel = ADC_CHANNEL_1;
+ sConfig.Rank = 1;
+ sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES;
+ if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN ADC1_Init 2 */
+
+ /* USER CODE END ADC1_Init 2 */
}
/**
- * @brief GPIO Initialization Function
- * @param None
- * @retval None
- */
-static void MX_GPIO_Init(void) {
- GPIO_InitTypeDef GPIO_InitStruct = { 0 };
- /* USER CODE BEGIN MX_GPIO_Init_1 */
- /* USER CODE END MX_GPIO_Init_1 */
+ * @brief USART2 Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_USART2_UART_Init(void)
+{
- /* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOC_CLK_ENABLE();
- __HAL_RCC_GPIOH_CLK_ENABLE();
- __HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
+ /* USER CODE BEGIN USART2_Init 0 */
- /*Configure GPIO pin Output Level */
- HAL_GPIO_WritePin(GPIOA, LD2_Pin | Door_Lock_Pin, GPIO_PIN_RESET);
+ /* USER CODE END USART2_Init 0 */
- /*Configure GPIO pin : B1_Pin */
- GPIO_InitStruct.Pin = B1_Pin;
- GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
+ /* USER CODE BEGIN USART2_Init 1 */
- /*Configure GPIO pins : LD2_Pin Door_Lock_Pin */
- GPIO_InitStruct.Pin = LD2_Pin | Door_Lock_Pin;
- GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ /* USER CODE END USART2_Init 1 */
+ huart2.Instance = USART2;
+ huart2.Init.BaudRate = 9600;
+ huart2.Init.WordLength = UART_WORDLENGTH_8B;
+ huart2.Init.StopBits = UART_STOPBITS_1;
+ huart2.Init.Parity = UART_PARITY_NONE;
+ huart2.Init.Mode = UART_MODE_TX_RX;
+ huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
+ huart2.Init.OverSampling = UART_OVERSAMPLING_16;
+ if (HAL_UART_Init(&huart2) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN USART2_Init 2 */
- /*Configure GPIO pin : Door_Sensor_Pin */
- GPIO_InitStruct.Pin = Door_Sensor_Pin;
- GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- GPIO_InitStruct.Pull = GPIO_PULLUP;
- HAL_GPIO_Init(Door_Sensor_GPIO_Port, &GPIO_InitStruct);
+ /* USER CODE END USART2_Init 2 */
- /* USER CODE BEGIN MX_GPIO_Init_2 */
- /* USER CODE END MX_GPIO_Init_2 */
+}
+
+/**
+ * @brief GPIO Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_GPIO_Init(void)
+{
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+/* USER CODE BEGIN MX_GPIO_Init_1 */
+/* USER CODE END MX_GPIO_Init_1 */
+
+ /* GPIO Ports Clock Enable */
+ __HAL_RCC_GPIOC_CLK_ENABLE();
+ __HAL_RCC_GPIOH_CLK_ENABLE();
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOA, LD2_Pin|Door_Lock_Pin, GPIO_PIN_RESET);
+
+ /*Configure GPIO pin : B1_Pin */
+ GPIO_InitStruct.Pin = B1_Pin;
+ GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
+
+ /*Configure GPIO pins : LD2_Pin Door_Lock_Pin */
+ GPIO_InitStruct.Pin = LD2_Pin|Door_Lock_Pin;
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /*Configure GPIO pin : Door_Sensor_Pin */
+ GPIO_InitStruct.Pin = Door_Sensor_Pin;
+ GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
+ GPIO_InitStruct.Pull = GPIO_PULLUP;
+ HAL_GPIO_Init(Door_Sensor_GPIO_Port, &GPIO_InitStruct);
+
+/* USER CODE BEGIN MX_GPIO_Init_2 */
+/* USER CODE END MX_GPIO_Init_2 */
}
/* USER CODE BEGIN 4 */
@@ -303,8 +399,9 @@ static void MX_GPIO_Init(void) {
* @retval None
*/
/* USER CODE END Header_StartMainTask */
-void StartMainTask(void *argument) {
- /* USER CODE BEGIN 5 */
+void StartMainTask(void *argument)
+{
+ /* USER CODE BEGIN 5 */
memset(uart_buffer, 0, 10);
/* USER CODE END 2 */
@@ -312,12 +409,12 @@ void StartMainTask(void *argument) {
/* USER CODE BEGIN WHILE */
while (1) {
- if (HAL_UART_Receive(&huart2, uart_buffer + uart_index, 1, 1000)
+ if (HAL_UART_Receive(&huart2, uart_buffer + uart_index, 1, 100)
== HAL_OK) {
uart_index++;
if (uart_buffer[uart_index - 1] == 0xFF) {
if (uart_index > 1) {
- //Command Internal LED
+ // Command Internal LED
if (uart_buffer[0] == 0x00) {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, uart_buffer[1]);
}
@@ -326,9 +423,13 @@ void StartMainTask(void *argument) {
uint8_t payload[3] = { 0x01, door_state, 0xFF };
HAL_UART_Transmit(&huart2, payload, 3, 1500);
}
- //
+ // Set Door Lock State
else if (uart_buffer[0] == 0x02) {
door_lock_state_command = uart_buffer[1];
+ // Get Current Scan Active State
+ } else if (uart_buffer[0] == 0x03) {
+ uint8_t payload[3] = { 0x02, scan_active, 0xFF };
+ HAL_UART_Transmit(&huart2, payload, 3, 1500);
}
}
uart_index = 0;
@@ -340,7 +441,7 @@ void StartMainTask(void *argument) {
}
vTaskDelay(1);
}
- /* USER CODE END 5 */
+ /* USER CODE END 5 */
}
/* USER CODE BEGIN Header_startDoorHandleTask */
@@ -350,8 +451,9 @@ void StartMainTask(void *argument) {
* @retval None
*/
/* USER CODE END Header_startDoorHandleTask */
-void startDoorHandleTask(void *argument) {
- /* USER CODE BEGIN startDoorHandleTask */
+void startDoorHandleTask(void *argument)
+{
+ /* USER CODE BEGIN startDoorHandleTask */
/* Infinite loop */
for (;;) {
door_state = HAL_GPIO_ReadPin(DOOR_SENSOR_BANK, DOOR_SENSOR_PIN);
@@ -385,7 +487,7 @@ void startDoorHandleTask(void *argument) {
door_lock_waiting = false;
}
}
- if(!door_lock_state_command && door_lock_waiting) {
+ if (!door_lock_state_command && door_lock_waiting) {
door_lock_waiting = false;
}
if (alarm_active && !door_lock_state_command) {
@@ -396,44 +498,85 @@ void startDoorHandleTask(void *argument) {
HAL_GPIO_WritePin(ALARM_BANK, ALARM_PIN, 1);
alarm_active = true;
}
- //HAL_GPIO_WritePin(DOOR_LOCK_PIN, DOOR_LOCK_BANK, uart_buffer[1]);
vTaskDelay(50);
}
- /* USER CODE END startDoorHandleTask */
+ /* USER CODE END startDoorHandleTask */
}
+/* USER CODE BEGIN Header_StartStateSendTask */
/**
- * @brief Period elapsed callback in non blocking mode
- * @note This function is called when TIM1 interrupt took place, inside
- * HAL_TIM_IRQHandler(). It makes a direct call to HAL_IncTick() to increment
- * a global variable "uwTick" used as application time base.
- * @param htim : TIM handle
+ * @brief Function implementing the StateSendTask thread.
+ * @param argument: Not used
* @retval None
*/
-void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
- /* USER CODE BEGIN Callback 0 */
-
- /* USER CODE END Callback 0 */
- if (htim->Instance == TIM1) {
- HAL_IncTick();
+/* USER CODE END Header_StartStateSendTask */
+void StartStateSendTask(void *argument)
+{
+ /* USER CODE BEGIN StartStateSendTask */
+ /* Infinite loop */
+ for (;;) {
+ uint8_t payload1[3] = { 0x01, door_state, 0xFF };
+ HAL_UART_Transmit(&huart2, payload1, 3, 1000);
+ uint8_t payload2[3] = { 0x02, scan_active, 0xFF };
+ HAL_UART_Transmit(&huart2, payload2, 3, 1000);
+ osDelay(200);
}
- /* USER CODE BEGIN Callback 1 */
+ /* USER CODE END StartStateSendTask */
+}
- /* USER CODE END Callback 1 */
+/* USER CODE BEGIN Header_StartADCReqTask */
+/**
+* @brief Function implementing the ADCReqTask thread.
+* @param argument: Not used
+* @retval None
+*/
+/* USER CODE END Header_StartADCReqTask */
+void StartADCReqTask(void *argument)
+{
+ /* USER CODE BEGIN StartADCReqTask */
+ /* Infinite loop */
+ for(;;)
+ {
+ HAL_ADC_Start_IT(&hadc1);
+ osDelay(500);
+ }
+ /* USER CODE END StartADCReqTask */
}
/**
- * @brief This function is executed in case of error occurrence.
- * @retval None
- */
-void Error_Handler(void) {
- /* USER CODE BEGIN Error_Handler_Debug */
+ * @brief Period elapsed callback in non blocking mode
+ * @note This function is called when TIM1 interrupt took place, inside
+ * HAL_TIM_IRQHandler(). It makes a direct call to HAL_IncTick() to increment
+ * a global variable "uwTick" used as application time base.
+ * @param htim : TIM handle
+ * @retval None
+ */
+void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
+{
+ /* USER CODE BEGIN Callback 0 */
+
+ /* USER CODE END Callback 0 */
+ if (htim->Instance == TIM1) {
+ HAL_IncTick();
+ }
+ /* USER CODE BEGIN Callback 1 */
+
+ /* USER CODE END Callback 1 */
+}
+
+/**
+ * @brief This function is executed in case of error occurrence.
+ * @retval None
+ */
+void Error_Handler(void)
+{
+ /* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
__disable_irq();
while (1) {
}
- /* USER CODE END Error_Handler_Debug */
+ /* USER CODE END Error_Handler_Debug */
}
#ifdef USE_FULL_ASSERT
diff --git a/access_control_stm32/Core/Src/stm32f4xx_hal_msp.c b/access_control_stm32/Core/Src/stm32f4xx_hal_msp.c
index c5167b8..d3f7e55 100644
--- a/access_control_stm32/Core/Src/stm32f4xx_hal_msp.c
+++ b/access_control_stm32/Core/Src/stm32f4xx_hal_msp.c
@@ -79,6 +79,72 @@ void HAL_MspInit(void)
/* USER CODE END MspInit 1 */
}
+/**
+* @brief ADC MSP Initialization
+* This function configures the hardware resources used in this example
+* @param hadc: ADC handle pointer
+* @retval None
+*/
+void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
+{
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ if(hadc->Instance==ADC1)
+ {
+ /* USER CODE BEGIN ADC1_MspInit 0 */
+
+ /* USER CODE END ADC1_MspInit 0 */
+ /* Peripheral clock enable */
+ __HAL_RCC_ADC1_CLK_ENABLE();
+
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ /**ADC1 GPIO Configuration
+ PA1 ------> ADC1_IN1
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_1;
+ GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* ADC1 interrupt Init */
+ HAL_NVIC_SetPriority(ADC_IRQn, 5, 0);
+ HAL_NVIC_EnableIRQ(ADC_IRQn);
+ /* USER CODE BEGIN ADC1_MspInit 1 */
+
+ /* USER CODE END ADC1_MspInit 1 */
+ }
+
+}
+
+/**
+* @brief ADC MSP De-Initialization
+* This function freeze the hardware resources used in this example
+* @param hadc: ADC handle pointer
+* @retval None
+*/
+void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
+{
+ if(hadc->Instance==ADC1)
+ {
+ /* USER CODE BEGIN ADC1_MspDeInit 0 */
+
+ /* USER CODE END ADC1_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_ADC1_CLK_DISABLE();
+
+ /**ADC1 GPIO Configuration
+ PA1 ------> ADC1_IN1
+ */
+ HAL_GPIO_DeInit(GPIOA, GPIO_PIN_1);
+
+ /* ADC1 interrupt DeInit */
+ HAL_NVIC_DisableIRQ(ADC_IRQn);
+ /* USER CODE BEGIN ADC1_MspDeInit 1 */
+
+ /* USER CODE END ADC1_MspDeInit 1 */
+ }
+
+}
+
/**
* @brief UART MSP Initialization
* This function configures the hardware resources used in this example
diff --git a/access_control_stm32/Core/Src/stm32f4xx_it.c b/access_control_stm32/Core/Src/stm32f4xx_it.c
index a32378e..b79d33e 100644
--- a/access_control_stm32/Core/Src/stm32f4xx_it.c
+++ b/access_control_stm32/Core/Src/stm32f4xx_it.c
@@ -55,6 +55,7 @@
/* USER CODE END 0 */
/* External variables --------------------------------------------------------*/
+extern ADC_HandleTypeDef hadc1;
extern TIM_HandleTypeDef htim1;
/* USER CODE BEGIN EV */
@@ -159,6 +160,20 @@ void DebugMon_Handler(void)
/* please refer to the startup file (startup_stm32f4xx.s). */
/******************************************************************************/
+/**
+ * @brief This function handles ADC1 global interrupt.
+ */
+void ADC_IRQHandler(void)
+{
+ /* USER CODE BEGIN ADC_IRQn 0 */
+
+ /* USER CODE END ADC_IRQn 0 */
+ HAL_ADC_IRQHandler(&hadc1);
+ /* USER CODE BEGIN ADC_IRQn 1 */
+
+ /* USER CODE END ADC_IRQn 1 */
+}
+
/**
* @brief This function handles TIM1 update interrupt and TIM10 global interrupt.
*/
diff --git a/access_control_stm32/Debug/Core/Src/freertos.d b/access_control_stm32/Debug/Core/Src/freertos.d
index 5df50d3..0ee2062 100644
--- a/access_control_stm32/Debug/Core/Src/freertos.d
+++ b/access_control_stm32/Debug/Core/Src/freertos.d
@@ -28,6 +28,9 @@ Core/Src/freertos.o: ../Core/Src/freertos.c \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -66,6 +69,9 @@ Core/Src/freertos.o: ../Core/Src/freertos.c \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Core/Src/freertos.o b/access_control_stm32/Debug/Core/Src/freertos.o
index 4bbca30..01c6870 100644
Binary files a/access_control_stm32/Debug/Core/Src/freertos.o and b/access_control_stm32/Debug/Core/Src/freertos.o differ
diff --git a/access_control_stm32/Debug/Core/Src/main.cyclo b/access_control_stm32/Debug/Core/Src/main.cyclo
index 81a251f..d901855 100644
--- a/access_control_stm32/Debug/Core/Src/main.cyclo
+++ b/access_control_stm32/Debug/Core/Src/main.cyclo
@@ -1,8 +1,12 @@
-../Core/Src/main.c:101:5:main 1
-../Core/Src/main.c:183:6:SystemClock_Config 3
-../Core/Src/main.c:227:13:MX_USART2_UART_Init 2
-../Core/Src/main.c:258:13:MX_GPIO_Init 1
-../Core/Src/main.c:306:6:StartMainTask 8
-../Core/Src/main.c:353:6:startDoorHandleTask 14
-../Core/Src/main.c:414:6:HAL_TIM_PeriodElapsedCallback 2
-../Core/Src/main.c:430:6:Error_Handler 1
+../Core/Src/main.c:122:6:HAL_ADC_ConvCpltCallback 1
+../Core/Src/main.c:132:5:main 1
+../Core/Src/main.c:221:6:SystemClock_Config 3
+../Core/Src/main.c:268:13:MX_ADC1_Init 3
+../Core/Src/main.c:320:13:MX_USART2_UART_Init 2
+../Core/Src/main.c:353:13:MX_GPIO_Init 1
+../Core/Src/main.c:402:6:StartMainTask 9
+../Core/Src/main.c:454:6:startDoorHandleTask 14
+../Core/Src/main.c:514:6:StartStateSendTask 1
+../Core/Src/main.c:535:6:StartADCReqTask 1
+../Core/Src/main.c:555:6:HAL_TIM_PeriodElapsedCallback 2
+../Core/Src/main.c:572:6:Error_Handler 1
diff --git a/access_control_stm32/Debug/Core/Src/main.d b/access_control_stm32/Debug/Core/Src/main.d
index a94f2d8..7e8cac0 100644
--- a/access_control_stm32/Debug/Core/Src/main.d
+++ b/access_control_stm32/Debug/Core/Src/main.d
@@ -19,6 +19,9 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -59,6 +62,9 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Core/Src/main.o b/access_control_stm32/Debug/Core/Src/main.o
index cff9ca3..d6d6242 100644
Binary files a/access_control_stm32/Debug/Core/Src/main.o and b/access_control_stm32/Debug/Core/Src/main.o differ
diff --git a/access_control_stm32/Debug/Core/Src/main.su b/access_control_stm32/Debug/Core/Src/main.su
index 159789e..ae04708 100644
--- a/access_control_stm32/Debug/Core/Src/main.su
+++ b/access_control_stm32/Debug/Core/Src/main.su
@@ -1,8 +1,12 @@
-../Core/Src/main.c:101:5:main 8 static
-../Core/Src/main.c:183:6:SystemClock_Config 88 static
-../Core/Src/main.c:227:13:MX_USART2_UART_Init 8 static
-../Core/Src/main.c:258:13:MX_GPIO_Init 48 static
-../Core/Src/main.c:306:6:StartMainTask 24 static
-../Core/Src/main.c:353:6:startDoorHandleTask 16 static
-../Core/Src/main.c:414:6:HAL_TIM_PeriodElapsedCallback 16 static
-../Core/Src/main.c:430:6:Error_Handler 4 static,ignoring_inline_asm
+../Core/Src/main.c:122:6:HAL_ADC_ConvCpltCallback 16 static
+../Core/Src/main.c:132:5:main 8 static
+../Core/Src/main.c:221:6:SystemClock_Config 88 static
+../Core/Src/main.c:268:13:MX_ADC1_Init 24 static
+../Core/Src/main.c:320:13:MX_USART2_UART_Init 8 static
+../Core/Src/main.c:353:13:MX_GPIO_Init 48 static
+../Core/Src/main.c:402:6:StartMainTask 24 static
+../Core/Src/main.c:454:6:startDoorHandleTask 16 static
+../Core/Src/main.c:514:6:StartStateSendTask 24 static
+../Core/Src/main.c:535:6:StartADCReqTask 16 static
+../Core/Src/main.c:555:6:HAL_TIM_PeriodElapsedCallback 16 static
+../Core/Src/main.c:572:6:Error_Handler 4 static,ignoring_inline_asm
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.cyclo b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.cyclo
index f785e20..a27ff23 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.cyclo
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.cyclo
@@ -1,3 +1,5 @@
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 1
-../Core/Src/stm32f4xx_hal_msp.c:88:6:HAL_UART_MspInit 2
-../Core/Src/stm32f4xx_hal_msp.c:124:6:HAL_UART_MspDeInit 2
+../Core/Src/stm32f4xx_hal_msp.c:88:6:HAL_ADC_MspInit 2
+../Core/Src/stm32f4xx_hal_msp.c:124:6:HAL_ADC_MspDeInit 2
+../Core/Src/stm32f4xx_hal_msp.c:154:6:HAL_UART_MspInit 2
+../Core/Src/stm32f4xx_hal_msp.c:190:6:HAL_UART_MspDeInit 2
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.d b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.d
index 6d675bc..e95519d 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.d
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.d
@@ -19,6 +19,9 @@ Core/Src/stm32f4xx_hal_msp.o: ../Core/Src/stm32f4xx_hal_msp.c \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Core/Src/stm32f4xx_hal_msp.o: ../Core/Src/stm32f4xx_hal_msp.c \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.o b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.o
index 69ec17d..3e852fc 100644
Binary files a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.o and b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.o differ
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.su b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.su
index 79f4ef7..6a40c6e 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.su
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_msp.su
@@ -1,3 +1,5 @@
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 16 static
-../Core/Src/stm32f4xx_hal_msp.c:88:6:HAL_UART_MspInit 48 static
-../Core/Src/stm32f4xx_hal_msp.c:124:6:HAL_UART_MspDeInit 16 static
+../Core/Src/stm32f4xx_hal_msp.c:88:6:HAL_ADC_MspInit 48 static
+../Core/Src/stm32f4xx_hal_msp.c:124:6:HAL_ADC_MspDeInit 16 static
+../Core/Src/stm32f4xx_hal_msp.c:154:6:HAL_UART_MspInit 48 static
+../Core/Src/stm32f4xx_hal_msp.c:190:6:HAL_UART_MspDeInit 16 static
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.d b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.d
index f9a6044..4412c07 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.d
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.d
@@ -20,6 +20,9 @@ Core/Src/stm32f4xx_hal_timebase_tim.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Core/Src/stm32f4xx_hal_timebase_tim.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.o b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.o
index 31ef9e9..c84e571 100644
Binary files a/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.o and b/access_control_stm32/Debug/Core/Src/stm32f4xx_hal_timebase_tim.o differ
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.cyclo b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.cyclo
index 8080909..d4da44e 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.cyclo
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.cyclo
@@ -1,7 +1,8 @@
-../Core/Src/stm32f4xx_it.c:70:6:NMI_Handler 1
-../Core/Src/stm32f4xx_it.c:85:6:HardFault_Handler 1
-../Core/Src/stm32f4xx_it.c:100:6:MemManage_Handler 1
-../Core/Src/stm32f4xx_it.c:115:6:BusFault_Handler 1
-../Core/Src/stm32f4xx_it.c:130:6:UsageFault_Handler 1
-../Core/Src/stm32f4xx_it.c:145:6:DebugMon_Handler 1
-../Core/Src/stm32f4xx_it.c:165:6:TIM1_UP_TIM10_IRQHandler 1
+../Core/Src/stm32f4xx_it.c:71:6:NMI_Handler 1
+../Core/Src/stm32f4xx_it.c:86:6:HardFault_Handler 1
+../Core/Src/stm32f4xx_it.c:101:6:MemManage_Handler 1
+../Core/Src/stm32f4xx_it.c:116:6:BusFault_Handler 1
+../Core/Src/stm32f4xx_it.c:131:6:UsageFault_Handler 1
+../Core/Src/stm32f4xx_it.c:146:6:DebugMon_Handler 1
+../Core/Src/stm32f4xx_it.c:166:6:ADC_IRQHandler 1
+../Core/Src/stm32f4xx_it.c:180:6:TIM1_UP_TIM10_IRQHandler 1
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.d b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.d
index c7516f9..0095f3c 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.d
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.d
@@ -19,6 +19,9 @@ Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -49,6 +52,9 @@ Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.o b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.o
index 307bc0f..b7ba8b3 100644
Binary files a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.o and b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.o differ
diff --git a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.su b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.su
index 6c2f09c..05bcfda 100644
--- a/access_control_stm32/Debug/Core/Src/stm32f4xx_it.su
+++ b/access_control_stm32/Debug/Core/Src/stm32f4xx_it.su
@@ -1,7 +1,8 @@
-../Core/Src/stm32f4xx_it.c:70:6:NMI_Handler 4 static
-../Core/Src/stm32f4xx_it.c:85:6:HardFault_Handler 4 static
-../Core/Src/stm32f4xx_it.c:100:6:MemManage_Handler 4 static
-../Core/Src/stm32f4xx_it.c:115:6:BusFault_Handler 4 static
-../Core/Src/stm32f4xx_it.c:130:6:UsageFault_Handler 4 static
-../Core/Src/stm32f4xx_it.c:145:6:DebugMon_Handler 4 static
-../Core/Src/stm32f4xx_it.c:165:6:TIM1_UP_TIM10_IRQHandler 8 static
+../Core/Src/stm32f4xx_it.c:71:6:NMI_Handler 4 static
+../Core/Src/stm32f4xx_it.c:86:6:HardFault_Handler 4 static
+../Core/Src/stm32f4xx_it.c:101:6:MemManage_Handler 4 static
+../Core/Src/stm32f4xx_it.c:116:6:BusFault_Handler 4 static
+../Core/Src/stm32f4xx_it.c:131:6:UsageFault_Handler 4 static
+../Core/Src/stm32f4xx_it.c:146:6:DebugMon_Handler 4 static
+../Core/Src/stm32f4xx_it.c:166:6:ADC_IRQHandler 8 static
+../Core/Src/stm32f4xx_it.c:180:6:TIM1_UP_TIM10_IRQHandler 8 static
diff --git a/access_control_stm32/Debug/Core/Src/system_stm32f4xx.d b/access_control_stm32/Debug/Core/Src/system_stm32f4xx.d
index f9fb14e..a82fd30 100644
--- a/access_control_stm32/Debug/Core/Src/system_stm32f4xx.d
+++ b/access_control_stm32/Debug/Core/Src/system_stm32f4xx.d
@@ -19,6 +19,9 @@ Core/Src/system_stm32f4xx.o: ../Core/Src/system_stm32f4xx.c \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -47,6 +50,9 @@ Core/Src/system_stm32f4xx.o: ../Core/Src/system_stm32f4xx.c \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Core/Src/system_stm32f4xx.o b/access_control_stm32/Debug/Core/Src/system_stm32f4xx.o
index 9822b46..5c65172 100644
Binary files a/access_control_stm32/Debug/Core/Src/system_stm32f4xx.o and b/access_control_stm32/Debug/Core/Src/system_stm32f4xx.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d
index ab0d97d..7da50ad 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o
index 0c4bc23..7eea546 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.cyclo b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.cyclo
new file mode 100644
index 0000000..5e421af
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.cyclo
@@ -0,0 +1,26 @@
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:311:19:HAL_ADC_Init 4
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:405:19:HAL_ADC_DeInit 3
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:662:13:HAL_ADC_MspInit 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:677:13:HAL_ADC_MspDeInit 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:716:19:HAL_ADC_Start 11
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:839:19:HAL_ADC_Stop 3
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:882:19:HAL_ADC_PollForConversion 13
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:971:19:HAL_ADC_PollForEvent 7
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1037:19:HAL_ADC_Start_IT 11
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1162:19:HAL_ADC_Stop_IT 3
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1199:6:HAL_ADC_IRQHandler 24
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1364:19:HAL_ADC_Start_DMA 12
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1512:19:HAL_ADC_Stop_DMA 5
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1568:10:HAL_ADC_GetValue 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1580:13:HAL_ADC_ConvCpltCallback 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1595:13:HAL_ADC_ConvHalfCpltCallback 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1610:13:HAL_ADC_LevelOutOfWindowCallback 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1631:13:HAL_ADC_ErrorCallback 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1669:19:HAL_ADC_ConfigChannel 12
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1792:19:HAL_ADC_AnalogWDGConfig 3
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1874:10:HAL_ADC_GetState 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1886:10:HAL_ADC_GetError 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1906:13:ADC_Init 3
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1994:13:ADC_DMAConvCplt 8
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:2063:13:ADC_DMAHalfConvCplt 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:2080:13:ADC_DMAError 1
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.d
new file mode 100644
index 0000000..ce94231
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.d
@@ -0,0 +1,64 @@
+Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o: \
+ ../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
+ ../Core/Inc/stm32f4xx_hal_conf.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h \
+ ../Drivers/CMSIS/Include/core_cm4.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
+../Core/Inc/stm32f4xx_hal_conf.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
+../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h:
+../Drivers/CMSIS/Include/core_cm4.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o
new file mode 100644
index 0000000..9d74579
Binary files /dev/null and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.su b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.su
new file mode 100644
index 0000000..92b54b5
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.su
@@ -0,0 +1,26 @@
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:311:19:HAL_ADC_Init 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:405:19:HAL_ADC_DeInit 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:662:13:HAL_ADC_MspInit 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:677:13:HAL_ADC_MspDeInit 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:716:19:HAL_ADC_Start 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:839:19:HAL_ADC_Stop 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:882:19:HAL_ADC_PollForConversion 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:971:19:HAL_ADC_PollForEvent 32 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1037:19:HAL_ADC_Start_IT 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1162:19:HAL_ADC_Stop_IT 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1199:6:HAL_ADC_IRQHandler 32 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1364:19:HAL_ADC_Start_DMA 32 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1512:19:HAL_ADC_Stop_DMA 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1568:10:HAL_ADC_GetValue 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1580:13:HAL_ADC_ConvCpltCallback 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1595:13:HAL_ADC_ConvHalfCpltCallback 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1610:13:HAL_ADC_LevelOutOfWindowCallback 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1631:13:HAL_ADC_ErrorCallback 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1669:19:HAL_ADC_ConfigChannel 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1792:19:HAL_ADC_AnalogWDGConfig 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1874:10:HAL_ADC_GetState 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1886:10:HAL_ADC_GetError 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1906:13:ADC_Init 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:1994:13:ADC_DMAConvCplt 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:2063:13:ADC_DMAHalfConvCplt 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:2080:13:ADC_DMAError 24 static
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.cyclo b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.cyclo
new file mode 100644
index 0000000..7896c2a
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.cyclo
@@ -0,0 +1,15 @@
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:146:19:HAL_ADCEx_InjectedStart 12
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:249:19:HAL_ADCEx_InjectedStart_IT 12
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:360:19:HAL_ADCEx_InjectedStop 5
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:414:19:HAL_ADCEx_InjectedPollForConversion 13
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:485:19:HAL_ADCEx_InjectedStop_IT 5
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:547:10:HAL_ADCEx_InjectedGetValue 5
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:598:19:HAL_ADCEx_MultiModeStart_DMA 9
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:725:19:HAL_ADCEx_MultiModeStop_DMA 3
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:778:10:HAL_ADCEx_MultiModeGetValue 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:797:13:HAL_ADCEx_InjectedConvCpltCallback 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:814:19:HAL_ADCEx_InjectedConfigChannel 15
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:978:19:HAL_ADCEx_MultiModeConfigChannel 2
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:1025:13:ADC_MultiModeDMAConvCplt 7
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:1078:13:ADC_MultiModeDMAHalfConvCplt 1
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:1091:13:ADC_MultiModeDMAError 1
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.d
new file mode 100644
index 0000000..c131f88
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.d
@@ -0,0 +1,64 @@
+Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o: \
+ ../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
+ ../Core/Inc/stm32f4xx_hal_conf.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h \
+ ../Drivers/CMSIS/Include/core_cm4.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
+../Core/Inc/stm32f4xx_hal_conf.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
+../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h:
+../Drivers/CMSIS/Include/core_cm4.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o
new file mode 100644
index 0000000..66e3a3d
Binary files /dev/null and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.su b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.su
new file mode 100644
index 0000000..e39f7c7
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.su
@@ -0,0 +1,15 @@
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:146:19:HAL_ADCEx_InjectedStart 32 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:249:19:HAL_ADCEx_InjectedStart_IT 32 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:360:19:HAL_ADCEx_InjectedStop 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:414:19:HAL_ADCEx_InjectedPollForConversion 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:485:19:HAL_ADCEx_InjectedStop_IT 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:547:10:HAL_ADCEx_InjectedGetValue 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:598:19:HAL_ADCEx_MultiModeStart_DMA 32 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:725:19:HAL_ADCEx_MultiModeStop_DMA 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:778:10:HAL_ADCEx_MultiModeGetValue 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:797:13:HAL_ADCEx_InjectedConvCpltCallback 16 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:814:19:HAL_ADCEx_InjectedConfigChannel 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:978:19:HAL_ADCEx_MultiModeConfigChannel 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:1025:13:ADC_MultiModeDMAConvCplt 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:1078:13:ADC_MultiModeDMAHalfConvCplt 24 static
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:1091:13:ADC_MultiModeDMAError 24 static
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d
index c7c005a..50d8940 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o
index ddececa..d7f7174 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d
index ec0585d..3b9cb58 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o
index 22d690c..3266d5f 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d
index baf7e9e..099e9c9 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o
index a2a4fd7..46ae57c 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d
index add2ca7..b509a7a 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o
index 2428fed..0495b67 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d
index c5ec984..f66d295 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o
index bb215cc..63e1dc5 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d
index cc47320..88bd165 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o
index 19be877..42b35b6 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d
index 0143496..06791c2 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o
index 991201e..3fa7fdb 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d
index 5030a1d..d641a60 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o
index 14bab4b..349fcc0 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d
index 99b54e9..6d37d04 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o
index 6080c65..94b9306 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d
index 14135eb..5d1419f 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o
index 9fc3f6b..2bb778e 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d
index 6c34a82..e98dccb 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o
index e12a376..03b32cb 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d
index 8517dd6..4415804 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o
index 544c494..00e00fe 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d
index 92fc295..54c3b26 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o
index 9f37dbb..04f60c1 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d
index 254b2e1..e7a578f 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o
index 31c3888..32a6e87 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d
index f4d5e10..d3cf6b3 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d
@@ -20,6 +20,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -48,6 +51,9 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o
index caed59d..181d292 100644
Binary files a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.cyclo b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.cyclo
new file mode 100644
index 0000000..e69de29
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.d b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.d
new file mode 100644
index 0000000..b7bd6f6
--- /dev/null
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.d
@@ -0,0 +1,2 @@
+Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.o: \
+ ../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.c
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.o b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.o
new file mode 100644
index 0000000..24ac672
Binary files /dev/null and b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.o differ
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.su b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.su
new file mode 100644
index 0000000..e69de29
diff --git a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
index 989dd9c..4d122b1 100644
--- a/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
+++ b/access_control_stm32/Debug/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
@@ -6,6 +6,8 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c \
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c \
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c \
@@ -20,10 +22,13 @@ C_SRCS += \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c \
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c \
-../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c \
+../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.c
OBJS += \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o \
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o \
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o \
@@ -38,10 +43,13 @@ OBJS += \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o \
-./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o \
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.o
C_DEPS += \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d \
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.d \
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.d \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d \
@@ -56,7 +64,8 @@ C_DEPS += \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d \
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d \
-./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d \
+./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.d
# Each subdirectory must supply rules for building sources it contributes
@@ -66,7 +75,7 @@ Drivers/STM32F4xx_HAL_Driver/Src/%.o Drivers/STM32F4xx_HAL_Driver/Src/%.su Drive
clean: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src
clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src:
- -$(RM) ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.su
+ -$(RM) ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.su
.PHONY: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src
diff --git a/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d b/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d
index bf00f14..570dc17 100644
--- a/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d
+++ b/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d
@@ -38,6 +38,9 @@ Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
+ ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
@@ -84,6 +87,9 @@ Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o: \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
+../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
diff --git a/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o b/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o
index f53b24a..f79c82e 100644
Binary files a/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o and b/access_control_stm32/Debug/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o differ
diff --git a/access_control_stm32/Debug/access_control_stm32.elf b/access_control_stm32/Debug/access_control_stm32.elf
index ef6d609..cdba186 100644
Binary files a/access_control_stm32/Debug/access_control_stm32.elf and b/access_control_stm32/Debug/access_control_stm32.elf differ
diff --git a/access_control_stm32/Debug/access_control_stm32.list b/access_control_stm32/Debug/access_control_stm32.list
index 8afde39..d074e91 100644
--- a/access_control_stm32/Debug/access_control_stm32.list
+++ b/access_control_stm32/Debug/access_control_stm32.list
@@ -5,47 +5,47 @@ Sections:
Idx Name Size VMA LMA File off Algn
0 .isr_vector 00000198 08000000 08000000 00010000 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 1 .text 00005528 080001a0 080001a0 000101a0 2**4
+ 1 .text 000060a8 080001a0 080001a0 000101a0 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 00000090 080056c8 080056c8 000156c8 2**2
+ 2 .rodata 000000f4 08006248 08006248 00016248 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 08005758 08005758 00020060 2**0
+ 3 .ARM.extab 00000000 0800633c 0800633c 00020060 2**0
CONTENTS
- 4 .ARM 00000008 08005758 08005758 00015758 2**2
+ 4 .ARM 00000008 0800633c 0800633c 0001633c 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 5 .preinit_array 00000000 08005760 08005760 00020060 2**0
+ 5 .preinit_array 00000000 08006344 08006344 00020060 2**0
CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 08005760 08005760 00015760 2**2
+ 6 .init_array 00000004 08006344 08006344 00016344 2**2
CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 08005764 08005764 00015764 2**2
+ 7 .fini_array 00000004 08006348 08006348 00016348 2**2
CONTENTS, ALLOC, LOAD, DATA
- 8 .data 00000060 20000000 08005768 00020000 2**2
+ 8 .data 00000060 20000000 0800634c 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 00004bf4 20000060 080057c8 00020060 2**2
+ 9 .bss 00004c44 20000060 080063ac 00020060 2**2
ALLOC
- 10 ._user_heap_stack 00003004 20004c54 080057c8 00024c54 2**0
+ 10 ._user_heap_stack 00003004 20004ca4 080063ac 00024ca4 2**0
ALLOC
11 .ARM.attributes 00000030 00000000 00000000 00020060 2**0
CONTENTS, READONLY
12 .comment 00000043 00000000 00000000 00020090 2**0
CONTENTS, READONLY
- 13 .debug_info 000175bc 00000000 00000000 000200d3 2**0
+ 13 .debug_info 000197ff 00000000 00000000 000200d3 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 14 .debug_abbrev 0000318b 00000000 00000000 0003768f 2**0
+ 14 .debug_abbrev 000035e1 00000000 00000000 000398d2 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 15 .debug_aranges 00001390 00000000 00000000 0003a820 2**3
+ 15 .debug_aranges 00001540 00000000 00000000 0003ceb8 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 16 .debug_rnglists 00000f3f 00000000 00000000 0003bbb0 2**0
+ 16 .debug_rnglists 00001092 00000000 00000000 0003e3f8 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 17 .debug_macro 00003557 00000000 00000000 0003caef 2**0
+ 17 .debug_macro 00003b4c 00000000 00000000 0003f48a 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 18 .debug_line 00015830 00000000 00000000 00040046 2**0
+ 18 .debug_line 00017e68 00000000 00000000 00042fd6 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 19 .debug_str 0009856e 00000000 00000000 00055876 2**0
+ 19 .debug_str 000a457b 00000000 00000000 0005ae3e 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 20 .debug_frame 000055a0 00000000 00000000 000edde4 2**2
+ 20 .debug_frame 00005cd8 00000000 00000000 000ff3bc 2**2
CONTENTS, READONLY, DEBUGGING, OCTETS
- 21 .debug_line_str 00000059 00000000 00000000 000f3384 2**0
+ 21 .debug_line_str 00000059 00000000 00000000 00105094 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
Disassembly of section .text:
@@ -64,7 +64,7 @@ Disassembly of section .text:
80001b6: bd10 pop {r4, pc}
80001b8: 20000060 .word 0x20000060
80001bc: 00000000 .word 0x00000000
- 80001c0: 080056b0 .word 0x080056b0
+ 80001c0: 08006230 .word 0x08006230
080001c4 :
80001c4: b508 push {r3, lr}
@@ -76,7 +76,7 @@ Disassembly of section .text:
80001d2: bd08 pop {r3, pc}
80001d4: 00000000 .word 0x00000000
80001d8: 20000064 .word 0x20000064
- 80001dc: 080056b0 .word 0x080056b0
+ 80001dc: 08006230 .word 0x08006230
080001e0 <__aeabi_uldivmod>:
80001e0: b953 cbnz r3, 80001f8 <__aeabi_uldivmod+0x18>
@@ -351,14570 +351,16624 @@ Disassembly of section .text:
80004d8: 4770 bx lr
80004da: bf00 nop
-080004dc :
+080004dc :
-/**
- * @brief The application entry point.
- * @retval int
- */
-int main(void) {
+/* USER CODE END PFP */
+
+/* Private user code ---------------------------------------------------------*/
+/* USER CODE BEGIN 0 */
+void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc) {
80004dc: b580 push {r7, lr}
- 80004de: af00 add r7, sp, #0
- /* USER CODE END 1 */
+ 80004de: b082 sub sp, #8
+ 80004e0: af00 add r7, sp, #0
+ 80004e2: 6078 str r0, [r7, #4]
+ adc_val = HAL_ADC_GetValue(&hadc1);
+ 80004e4: 480a ldr r0, [pc, #40] ; (8000510 )
+ 80004e6: f000 ff57 bl 8001398
+ 80004ea: 4603 mov r3, r0
+ 80004ec: b29a uxth r2, r3
+ 80004ee: 4b09 ldr r3, [pc, #36] ; (8000514 )
+ 80004f0: 801a strh r2, [r3, #0]
+ scan_active = adc_val < 1000;
+ 80004f2: 4b08 ldr r3, [pc, #32] ; (8000514 )
+ 80004f4: 881b ldrh r3, [r3, #0]
+ 80004f6: f240 32e7 movw r2, #999 ; 0x3e7
+ 80004fa: 4293 cmp r3, r2
+ 80004fc: bf94 ite ls
+ 80004fe: 2301 movls r3, #1
+ 8000500: 2300 movhi r3, #0
+ 8000502: b2da uxtb r2, r3
+ 8000504: 4b04 ldr r3, [pc, #16] ; (8000518 )
+ 8000506: 701a strb r2, [r3, #0]
+}
+ 8000508: bf00 nop
+ 800050a: 3708 adds r7, #8
+ 800050c: 46bd mov sp, r7
+ 800050e: bd80 pop {r7, pc}
+ 8000510: 2000007c .word 0x2000007c
+ 8000514: 2000012e .word 0x2000012e
+ 8000518: 2000012d .word 0x2000012d
- /* MCU Configuration--------------------------------------------------------*/
+0800051c :
+/**
+ * @brief The application entry point.
+ * @retval int
+ */
+int main(void)
+{
+ 800051c: b580 push {r7, lr}
+ 800051e: af00 add r7, sp, #0
+ /* USER CODE END 1 */
- /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- HAL_Init();
- 80004e0: f000 fbd0 bl 8000c84
- /* USER CODE BEGIN Init */
+ /* MCU Configuration--------------------------------------------------------*/
- /* USER CODE END Init */
+ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
+ HAL_Init();
+ 8000520: f000 fce6 bl 8000ef0
+ /* USER CODE BEGIN Init */
- /* Configure the system clock */
- SystemClock_Config();
- 80004e4: f000 f82c bl 8000540
- /* USER CODE BEGIN SysInit */
+ /* USER CODE END Init */
- /* USER CODE END SysInit */
+ /* Configure the system clock */
+ SystemClock_Config();
+ 8000524: f000 f84a bl 80005bc
+ /* USER CODE BEGIN SysInit */
- /* Initialize all configured peripherals */
- MX_GPIO_Init();
- 80004e8: f000 f8be bl 8000668
- MX_USART2_UART_Init();
- 80004ec: f000 f892 bl 8000614
- /* USER CODE BEGIN 2 */
+ /* USER CODE END SysInit */
+
+ /* Initialize all configured peripherals */
+ MX_GPIO_Init();
+ 8000528: f000 f92e bl 8000788
+ MX_USART2_UART_Init();
+ 800052c: f000 f902 bl 8000734
+ MX_ADC1_Init();
+ 8000530: f000 f8ae bl 8000690
+ /* USER CODE BEGIN 2 */
memset(uart_buffer, 0, 10);
- 80004f0: 220a movs r2, #10
- 80004f2: 2100 movs r1, #0
- 80004f4: 480b ldr r0, [pc, #44] ; (8000524 )
- 80004f6: f004 fff1 bl 80054dc
- /* USER CODE END 2 */
+ 8000534: 220a movs r2, #10
+ 8000536: 2100 movs r1, #0
+ 8000538: 4813 ldr r0, [pc, #76] ; (8000588 )
+ 800053a: f005 fd8f bl 800605c
+ /* USER CODE END 2 */
- /* Init scheduler */
- osKernelInitialize();
- 80004fa: f002 fa8f bl 8002a1c
+ /* Init scheduler */
+ osKernelInitialize();
+ 800053e: f003 f80f bl 8003560
/* add queues, ... */
- /* USER CODE END RTOS_QUEUES */
+ /* USER CODE END RTOS_QUEUES */
- /* Create the thread(s) */
- /* creation of mainTask */
- mainTaskHandle = osThreadNew(StartMainTask, NULL, &mainTask_attributes);
- 80004fe: 4a0a ldr r2, [pc, #40] ; (8000528 )
- 8000500: 2100 movs r1, #0
- 8000502: 480a ldr r0, [pc, #40] ; (800052c )
- 8000504: f002 fad4 bl 8002ab0
- 8000508: 4603 mov r3, r0
- 800050a: 4a09 ldr r2, [pc, #36] ; (8000530 )
- 800050c: 6013 str r3, [r2, #0]
+ /* Create the thread(s) */
+ /* creation of mainTask */
+ mainTaskHandle = osThreadNew(StartMainTask, NULL, &mainTask_attributes);
+ 8000542: 4a12 ldr r2, [pc, #72] ; (800058c )
+ 8000544: 2100 movs r1, #0
+ 8000546: 4812 ldr r0, [pc, #72] ; (8000590 )
+ 8000548: f003 f854 bl 80035f4
+ 800054c: 4603 mov r3, r0
+ 800054e: 4a11 ldr r2, [pc, #68] ; (8000594 )
+ 8000550: 6013 str r3, [r2, #0]
- /* creation of doorHandler */
- doorHandlerHandle = osThreadNew(startDoorHandleTask, NULL,
- 800050e: 4a09 ldr r2, [pc, #36] ; (8000534 )
- 8000510: 2100 movs r1, #0
- 8000512: 4809 ldr r0, [pc, #36] ; (8000538 )
- 8000514: f002 facc bl 8002ab0
- 8000518: 4603 mov r3, r0
- 800051a: 4a08 ldr r2, [pc, #32] ; (800053c )
- 800051c: 6013 str r3, [r2, #0]
- /* USER CODE BEGIN RTOS_EVENTS */
+ /* creation of doorHandler */
+ doorHandlerHandle = osThreadNew(startDoorHandleTask, NULL, &doorHandler_attributes);
+ 8000552: 4a11 ldr r2, [pc, #68] ; (8000598 )
+ 8000554: 2100 movs r1, #0
+ 8000556: 4811 ldr r0, [pc, #68] ; (800059c )
+ 8000558: f003 f84c bl 80035f4
+ 800055c: 4603 mov r3, r0
+ 800055e: 4a10 ldr r2, [pc, #64] ; (80005a0 )
+ 8000560: 6013 str r3, [r2, #0]
+
+ /* creation of StateSendTask */
+ StateSendTaskHandle = osThreadNew(StartStateSendTask, NULL, &StateSendTask_attributes);
+ 8000562: 4a10 ldr r2, [pc, #64] ; (80005a4 )
+ 8000564: 2100 movs r1, #0
+ 8000566: 4810 ldr r0, [pc, #64] ; (80005a8 )
+ 8000568: f003 f844 bl 80035f4
+ 800056c: 4603 mov r3, r0
+ 800056e: 4a0f ldr r2, [pc, #60] ; (80005ac )
+ 8000570: 6013 str r3, [r2, #0]
+
+ /* creation of ADCReqTask */
+ ADCReqTaskHandle = osThreadNew(StartADCReqTask, NULL, &ADCReqTask_attributes);
+ 8000572: 4a0f ldr r2, [pc, #60] ; (80005b0 )
+ 8000574: 2100 movs r1, #0
+ 8000576: 480f ldr r0, [pc, #60] ; (80005b4 )
+ 8000578: f003 f83c bl 80035f4
+ 800057c: 4603 mov r3, r0
+ 800057e: 4a0e ldr r2, [pc, #56] ; (80005b8 )
+ 8000580: 6013 str r3, [r2, #0]
+ /* USER CODE BEGIN RTOS_EVENTS */
/* add events, ... */
- /* USER CODE END RTOS_EVENTS */
+ /* USER CODE END RTOS_EVENTS */
- /* Start scheduler */
- osKernelStart();
- 800051e: f002 faa1 bl 8002a64
+ /* Start scheduler */
+ osKernelStart();
+ 8000582: f003 f811 bl 80035a8
- /* We should never get here as control is now taken by the scheduler */
- /* Infinite loop */
- /* USER CODE BEGIN WHILE */
+ /* We should never get here as control is now taken by the scheduler */
+ /* Infinite loop */
+ /* USER CODE BEGIN WHILE */
while (1) {
- 8000522: e7fe b.n 8000522
- 8000524: 200000c8 .word 0x200000c8
- 8000528: 080056f8 .word 0x080056f8
- 800052c: 08000761 .word 0x08000761
- 8000530: 200000c0 .word 0x200000c0
- 8000534: 0800571c .word 0x0800571c
- 8000538: 08000855 .word 0x08000855
- 800053c: 200000c4 .word 0x200000c4
-
-08000540 :
+ 8000586: e7fe b.n 8000586
+ 8000588: 20000118 .word 0x20000118
+ 800058c: 08006294 .word 0x08006294
+ 8000590: 08000881 .word 0x08000881
+ 8000594: 20000108 .word 0x20000108
+ 8000598: 080062b8 .word 0x080062b8
+ 800059c: 080009a1 .word 0x080009a1
+ 80005a0: 2000010c .word 0x2000010c
+ 80005a4: 080062dc .word 0x080062dc
+ 80005a8: 08000b1d .word 0x08000b1d
+ 80005ac: 20000110 .word 0x20000110
+ 80005b0: 08006300 .word 0x08006300
+ 80005b4: 08000b75 .word 0x08000b75
+ 80005b8: 20000114 .word 0x20000114
+080005bc :
/**
- * @brief System Clock Configuration
- * @retval None
- */
-void SystemClock_Config(void) {
- 8000540: b580 push {r7, lr}
- 8000542: b094 sub sp, #80 ; 0x50
- 8000544: af00 add r7, sp, #0
- RCC_OscInitTypeDef RCC_OscInitStruct = { 0 };
- 8000546: f107 0320 add.w r3, r7, #32
- 800054a: 2230 movs r2, #48 ; 0x30
- 800054c: 2100 movs r1, #0
- 800054e: 4618 mov r0, r3
- 8000550: f004 ffc4 bl 80054dc
- RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 };
- 8000554: f107 030c add.w r3, r7, #12
- 8000558: 2200 movs r2, #0
- 800055a: 601a str r2, [r3, #0]
- 800055c: 605a str r2, [r3, #4]
- 800055e: 609a str r2, [r3, #8]
- 8000560: 60da str r2, [r3, #12]
- 8000562: 611a str r2, [r3, #16]
-
- /** Configure the main internal regulator output voltage
- */
- __HAL_RCC_PWR_CLK_ENABLE();
- 8000564: 2300 movs r3, #0
- 8000566: 60bb str r3, [r7, #8]
- 8000568: 4b28 ldr r3, [pc, #160] ; (800060c )
- 800056a: 6c1b ldr r3, [r3, #64] ; 0x40
- 800056c: 4a27 ldr r2, [pc, #156] ; (800060c )
- 800056e: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
- 8000572: 6413 str r3, [r2, #64] ; 0x40
- 8000574: 4b25 ldr r3, [pc, #148] ; (800060c )
- 8000576: 6c1b ldr r3, [r3, #64] ; 0x40
- 8000578: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 800057c: 60bb str r3, [r7, #8]
- 800057e: 68bb ldr r3, [r7, #8]
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- 8000580: 2300 movs r3, #0
- 8000582: 607b str r3, [r7, #4]
- 8000584: 4b22 ldr r3, [pc, #136] ; (8000610 )
- 8000586: 681b ldr r3, [r3, #0]
- 8000588: 4a21 ldr r2, [pc, #132] ; (8000610 )
- 800058a: f443 4340 orr.w r3, r3, #49152 ; 0xc000
- 800058e: 6013 str r3, [r2, #0]
- 8000590: 4b1f ldr r3, [pc, #124] ; (8000610 )
- 8000592: 681b ldr r3, [r3, #0]
- 8000594: f403 4340 and.w r3, r3, #49152 ; 0xc000
- 8000598: 607b str r3, [r7, #4]
- 800059a: 687b ldr r3, [r7, #4]
-
- /** Initializes the RCC Oscillators according to the specified parameters
- * in the RCC_OscInitTypeDef structure.
- */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- 800059c: 2302 movs r3, #2
- 800059e: 623b str r3, [r7, #32]
- RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- 80005a0: 2301 movs r3, #1
- 80005a2: 62fb str r3, [r7, #44] ; 0x2c
- RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- 80005a4: 2310 movs r3, #16
- 80005a6: 633b str r3, [r7, #48] ; 0x30
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- 80005a8: 2302 movs r3, #2
- 80005aa: 63bb str r3, [r7, #56] ; 0x38
- RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
- 80005ac: 2300 movs r3, #0
- 80005ae: 63fb str r3, [r7, #60] ; 0x3c
- RCC_OscInitStruct.PLL.PLLM = 16;
- 80005b0: 2310 movs r3, #16
- 80005b2: 643b str r3, [r7, #64] ; 0x40
- RCC_OscInitStruct.PLL.PLLN = 336;
- 80005b4: f44f 73a8 mov.w r3, #336 ; 0x150
- 80005b8: 647b str r3, [r7, #68] ; 0x44
- RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
- 80005ba: 2304 movs r3, #4
- 80005bc: 64bb str r3, [r7, #72] ; 0x48
- RCC_OscInitStruct.PLL.PLLQ = 4;
- 80005be: 2304 movs r3, #4
- 80005c0: 64fb str r3, [r7, #76] ; 0x4c
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) {
+ * @brief System Clock Configuration
+ * @retval None
+ */
+void SystemClock_Config(void)
+{
+ 80005bc: b580 push {r7, lr}
+ 80005be: b094 sub sp, #80 ; 0x50
+ 80005c0: af00 add r7, sp, #0
+ RCC_OscInitTypeDef RCC_OscInitStruct = {0};
80005c2: f107 0320 add.w r3, r7, #32
- 80005c6: 4618 mov r0, r3
- 80005c8: f000 fe36 bl 8001238
- 80005cc: 4603 mov r3, r0
- 80005ce: 2b00 cmp r3, #0
- 80005d0: d001 beq.n 80005d6
- Error_Handler();
- 80005d2: f000 fa0f bl 80009f4
- }
+ 80005c6: 2230 movs r2, #48 ; 0x30
+ 80005c8: 2100 movs r1, #0
+ 80005ca: 4618 mov r0, r3
+ 80005cc: f005 fd46 bl 800605c
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
+ 80005d0: f107 030c add.w r3, r7, #12
+ 80005d4: 2200 movs r2, #0
+ 80005d6: 601a str r2, [r3, #0]
+ 80005d8: 605a str r2, [r3, #4]
+ 80005da: 609a str r2, [r3, #8]
+ 80005dc: 60da str r2, [r3, #12]
+ 80005de: 611a str r2, [r3, #16]
- /** Initializes the CPU, AHB and APB buses clocks
- */
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
- 80005d6: 230f movs r3, #15
- 80005d8: 60fb str r3, [r7, #12]
- | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- 80005da: 2302 movs r3, #2
- 80005dc: 613b str r3, [r7, #16]
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- 80005de: 2300 movs r3, #0
- 80005e0: 617b str r3, [r7, #20]
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
- 80005e2: f44f 5380 mov.w r3, #4096 ; 0x1000
- 80005e6: 61bb str r3, [r7, #24]
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- 80005e8: 2300 movs r3, #0
- 80005ea: 61fb str r3, [r7, #28]
+ /** Configure the main internal regulator output voltage
+ */
+ __HAL_RCC_PWR_CLK_ENABLE();
+ 80005e0: 2300 movs r3, #0
+ 80005e2: 60bb str r3, [r7, #8]
+ 80005e4: 4b28 ldr r3, [pc, #160] ; (8000688 )
+ 80005e6: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80005e8: 4a27 ldr r2, [pc, #156] ; (8000688 )
+ 80005ea: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
+ 80005ee: 6413 str r3, [r2, #64] ; 0x40
+ 80005f0: 4b25 ldr r3, [pc, #148] ; (8000688 )
+ 80005f2: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80005f4: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 80005f8: 60bb str r3, [r7, #8]
+ 80005fa: 68bb ldr r3, [r7, #8]
+ __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
+ 80005fc: 2300 movs r3, #0
+ 80005fe: 607b str r3, [r7, #4]
+ 8000600: 4b22 ldr r3, [pc, #136] ; (800068c )
+ 8000602: 681b ldr r3, [r3, #0]
+ 8000604: 4a21 ldr r2, [pc, #132] ; (800068c )
+ 8000606: f443 4340 orr.w r3, r3, #49152 ; 0xc000
+ 800060a: 6013 str r3, [r2, #0]
+ 800060c: 4b1f ldr r3, [pc, #124] ; (800068c )
+ 800060e: 681b ldr r3, [r3, #0]
+ 8000610: f403 4340 and.w r3, r3, #49152 ; 0xc000
+ 8000614: 607b str r3, [r7, #4]
+ 8000616: 687b ldr r3, [r7, #4]
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) {
- 80005ec: f107 030c add.w r3, r7, #12
- 80005f0: 2102 movs r1, #2
- 80005f2: 4618 mov r0, r3
- 80005f4: f001 f898 bl 8001728
- 80005f8: 4603 mov r3, r0
- 80005fa: 2b00 cmp r3, #0
- 80005fc: d001 beq.n 8000602
- Error_Handler();
- 80005fe: f000 f9f9 bl 80009f4
- }
+ /** Initializes the RCC Oscillators according to the specified parameters
+ * in the RCC_OscInitTypeDef structure.
+ */
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
+ 8000618: 2302 movs r3, #2
+ 800061a: 623b str r3, [r7, #32]
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
+ 800061c: 2301 movs r3, #1
+ 800061e: 62fb str r3, [r7, #44] ; 0x2c
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
+ 8000620: 2310 movs r3, #16
+ 8000622: 633b str r3, [r7, #48] ; 0x30
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
+ 8000624: 2302 movs r3, #2
+ 8000626: 63bb str r3, [r7, #56] ; 0x38
+ RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
+ 8000628: 2300 movs r3, #0
+ 800062a: 63fb str r3, [r7, #60] ; 0x3c
+ RCC_OscInitStruct.PLL.PLLM = 16;
+ 800062c: 2310 movs r3, #16
+ 800062e: 643b str r3, [r7, #64] ; 0x40
+ RCC_OscInitStruct.PLL.PLLN = 336;
+ 8000630: f44f 73a8 mov.w r3, #336 ; 0x150
+ 8000634: 647b str r3, [r7, #68] ; 0x44
+ RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
+ 8000636: 2304 movs r3, #4
+ 8000638: 64bb str r3, [r7, #72] ; 0x48
+ RCC_OscInitStruct.PLL.PLLQ = 4;
+ 800063a: 2304 movs r3, #4
+ 800063c: 64fb str r3, [r7, #76] ; 0x4c
+ if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ 800063e: f107 0320 add.w r3, r7, #32
+ 8000642: 4618 mov r0, r3
+ 8000644: f001 fb9a bl 8001d7c
+ 8000648: 4603 mov r3, r0
+ 800064a: 2b00 cmp r3, #0
+ 800064c: d001 beq.n 8000652
+ {
+ Error_Handler();
+ 800064e: f000 fab1 bl 8000bb4
+ }
+
+ /** Initializes the CPU, AHB and APB buses clocks
+ */
+ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
+ 8000652: 230f movs r3, #15
+ 8000654: 60fb str r3, [r7, #12]
+ |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
+ 8000656: 2302 movs r3, #2
+ 8000658: 613b str r3, [r7, #16]
+ RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
+ 800065a: 2300 movs r3, #0
+ 800065c: 617b str r3, [r7, #20]
+ RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
+ 800065e: f44f 5380 mov.w r3, #4096 ; 0x1000
+ 8000662: 61bb str r3, [r7, #24]
+ RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
+ 8000664: 2300 movs r3, #0
+ 8000666: 61fb str r3, [r7, #28]
+
+ if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK)
+ 8000668: f107 030c add.w r3, r7, #12
+ 800066c: 2102 movs r1, #2
+ 800066e: 4618 mov r0, r3
+ 8000670: f001 fdfc bl 800226c
+ 8000674: 4603 mov r3, r0
+ 8000676: 2b00 cmp r3, #0
+ 8000678: d001 beq.n 800067e
+ {
+ Error_Handler();
+ 800067a: f000 fa9b bl 8000bb4
+ }
}
- 8000602: bf00 nop
- 8000604: 3750 adds r7, #80 ; 0x50
- 8000606: 46bd mov sp, r7
- 8000608: bd80 pop {r7, pc}
- 800060a: bf00 nop
- 800060c: 40023800 .word 0x40023800
- 8000610: 40007000 .word 0x40007000
+ 800067e: bf00 nop
+ 8000680: 3750 adds r7, #80 ; 0x50
+ 8000682: 46bd mov sp, r7
+ 8000684: bd80 pop {r7, pc}
+ 8000686: bf00 nop
+ 8000688: 40023800 .word 0x40023800
+ 800068c: 40007000 .word 0x40007000
-08000614 :
-/**
- * @brief USART2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_USART2_UART_Init(void) {
- 8000614: b580 push {r7, lr}
- 8000616: af00 add r7, sp, #0
- /* USER CODE END USART2_Init 0 */
+08000690 :
+ * @brief ADC1 Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_ADC1_Init(void)
+{
+ 8000690: b580 push {r7, lr}
+ 8000692: b084 sub sp, #16
+ 8000694: af00 add r7, sp, #0
- /* USER CODE BEGIN USART2_Init 1 */
+ /* USER CODE BEGIN ADC1_Init 0 */
- /* USER CODE END USART2_Init 1 */
- huart2.Instance = USART2;
- 8000618: 4b11 ldr r3, [pc, #68] ; (8000660 )
- 800061a: 4a12 ldr r2, [pc, #72] ; (8000664 )
- 800061c: 601a str r2, [r3, #0]
- huart2.Init.BaudRate = 9600;
- 800061e: 4b10 ldr r3, [pc, #64] ; (8000660 )
- 8000620: f44f 5216 mov.w r2, #9600 ; 0x2580
- 8000624: 605a str r2, [r3, #4]
- huart2.Init.WordLength = UART_WORDLENGTH_8B;
- 8000626: 4b0e ldr r3, [pc, #56] ; (8000660 )
- 8000628: 2200 movs r2, #0
- 800062a: 609a str r2, [r3, #8]
- huart2.Init.StopBits = UART_STOPBITS_1;
- 800062c: 4b0c ldr r3, [pc, #48] ; (8000660 )
- 800062e: 2200 movs r2, #0
- 8000630: 60da str r2, [r3, #12]
- huart2.Init.Parity = UART_PARITY_NONE;
- 8000632: 4b0b ldr r3, [pc, #44] ; (8000660 )
- 8000634: 2200 movs r2, #0
- 8000636: 611a str r2, [r3, #16]
- huart2.Init.Mode = UART_MODE_TX_RX;
- 8000638: 4b09 ldr r3, [pc, #36] ; (8000660 )
- 800063a: 220c movs r2, #12
- 800063c: 615a str r2, [r3, #20]
- huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- 800063e: 4b08 ldr r3, [pc, #32] ; (8000660 )
- 8000640: 2200 movs r2, #0
- 8000642: 619a str r2, [r3, #24]
- huart2.Init.OverSampling = UART_OVERSAMPLING_16;
- 8000644: 4b06 ldr r3, [pc, #24] ; (8000660 )
- 8000646: 2200 movs r2, #0
- 8000648: 61da str r2, [r3, #28]
- if (HAL_UART_Init(&huart2) != HAL_OK) {
- 800064a: 4805 ldr r0, [pc, #20] ; (8000660 )
- 800064c: f001 fd3e bl 80020cc
- 8000650: 4603 mov r3, r0
- 8000652: 2b00 cmp r3, #0
- 8000654: d001 beq.n 800065a
- Error_Handler();
- 8000656: f000 f9cd bl 80009f4
- }
- /* USER CODE BEGIN USART2_Init 2 */
+ /* USER CODE END ADC1_Init 0 */
- /* USER CODE END USART2_Init 2 */
+ ADC_ChannelConfTypeDef sConfig = {0};
+ 8000696: 463b mov r3, r7
+ 8000698: 2200 movs r2, #0
+ 800069a: 601a str r2, [r3, #0]
+ 800069c: 605a str r2, [r3, #4]
+ 800069e: 609a str r2, [r3, #8]
+ 80006a0: 60da str r2, [r3, #12]
-}
- 800065a: bf00 nop
- 800065c: bd80 pop {r7, pc}
- 800065e: bf00 nop
- 8000660: 2000007c .word 0x2000007c
- 8000664: 40004400 .word 0x40004400
+ /* USER CODE END ADC1_Init 1 */
-08000668 :
-/**
- * @brief GPIO Initialization Function
- * @param None
- * @retval None
- */
-static void MX_GPIO_Init(void) {
- 8000668: b580 push {r7, lr}
- 800066a: b08a sub sp, #40 ; 0x28
- 800066c: af00 add r7, sp, #0
- GPIO_InitTypeDef GPIO_InitStruct = { 0 };
- 800066e: f107 0314 add.w r3, r7, #20
- 8000672: 2200 movs r2, #0
- 8000674: 601a str r2, [r3, #0]
- 8000676: 605a str r2, [r3, #4]
- 8000678: 609a str r2, [r3, #8]
- 800067a: 60da str r2, [r3, #12]
- 800067c: 611a str r2, [r3, #16]
- /* USER CODE BEGIN MX_GPIO_Init_1 */
- /* USER CODE END MX_GPIO_Init_1 */
+ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
+ */
+ hadc1.Instance = ADC1;
+ 80006a2: 4b21 ldr r3, [pc, #132] ; (8000728 )
+ 80006a4: 4a21 ldr r2, [pc, #132] ; (800072c )
+ 80006a6: 601a str r2, [r3, #0]
+ hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;
+ 80006a8: 4b1f ldr r3, [pc, #124] ; (8000728 )
+ 80006aa: f44f 3280 mov.w r2, #65536 ; 0x10000
+ 80006ae: 605a str r2, [r3, #4]
+ hadc1.Init.Resolution = ADC_RESOLUTION_12B;
+ 80006b0: 4b1d ldr r3, [pc, #116] ; (8000728 )
+ 80006b2: 2200 movs r2, #0
+ 80006b4: 609a str r2, [r3, #8]
+ hadc1.Init.ScanConvMode = DISABLE;
+ 80006b6: 4b1c ldr r3, [pc, #112] ; (8000728 )
+ 80006b8: 2200 movs r2, #0
+ 80006ba: 611a str r2, [r3, #16]
+ hadc1.Init.ContinuousConvMode = DISABLE;
+ 80006bc: 4b1a ldr r3, [pc, #104] ; (8000728 )
+ 80006be: 2200 movs r2, #0
+ 80006c0: 761a strb r2, [r3, #24]
+ hadc1.Init.DiscontinuousConvMode = DISABLE;
+ 80006c2: 4b19 ldr r3, [pc, #100] ; (8000728 )
+ 80006c4: 2200 movs r2, #0
+ 80006c6: f883 2020 strb.w r2, [r3, #32]
+ hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
+ 80006ca: 4b17 ldr r3, [pc, #92] ; (8000728 )
+ 80006cc: 2200 movs r2, #0
+ 80006ce: 62da str r2, [r3, #44] ; 0x2c
+ hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
+ 80006d0: 4b15 ldr r3, [pc, #84] ; (8000728 )
+ 80006d2: 4a17 ldr r2, [pc, #92] ; (8000730 )
+ 80006d4: 629a str r2, [r3, #40] ; 0x28
+ hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
+ 80006d6: 4b14 ldr r3, [pc, #80] ; (8000728 )
+ 80006d8: 2200 movs r2, #0
+ 80006da: 60da str r2, [r3, #12]
+ hadc1.Init.NbrOfConversion = 1;
+ 80006dc: 4b12 ldr r3, [pc, #72] ; (8000728 )
+ 80006de: 2201 movs r2, #1
+ 80006e0: 61da str r2, [r3, #28]
+ hadc1.Init.DMAContinuousRequests = DISABLE;
+ 80006e2: 4b11 ldr r3, [pc, #68] ; (8000728 )
+ 80006e4: 2200 movs r2, #0
+ 80006e6: f883 2030 strb.w r2, [r3, #48] ; 0x30
+ hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
+ 80006ea: 4b0f ldr r3, [pc, #60] ; (8000728 )
+ 80006ec: 2201 movs r2, #1
+ 80006ee: 615a str r2, [r3, #20]
+ if (HAL_ADC_Init(&hadc1) != HAL_OK)
+ 80006f0: 480d ldr r0, [pc, #52] ; (8000728 )
+ 80006f2: f000 fc3f bl 8000f74
+ 80006f6: 4603 mov r3, r0
+ 80006f8: 2b00 cmp r3, #0
+ 80006fa: d001 beq.n 8000700
+ {
+ Error_Handler();
+ 80006fc: f000 fa5a bl 8000bb4
+ }
- /* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOC_CLK_ENABLE();
- 800067e: 2300 movs r3, #0
- 8000680: 613b str r3, [r7, #16]
- 8000682: 4b34 ldr r3, [pc, #208] ; (8000754 )
- 8000684: 6b1b ldr r3, [r3, #48] ; 0x30
- 8000686: 4a33 ldr r2, [pc, #204] ; (8000754 )
- 8000688: f043 0304 orr.w r3, r3, #4
- 800068c: 6313 str r3, [r2, #48] ; 0x30
- 800068e: 4b31 ldr r3, [pc, #196] ; (8000754 )
- 8000690: 6b1b ldr r3, [r3, #48] ; 0x30
- 8000692: f003 0304 and.w r3, r3, #4
- 8000696: 613b str r3, [r7, #16]
- 8000698: 693b ldr r3, [r7, #16]
- __HAL_RCC_GPIOH_CLK_ENABLE();
- 800069a: 2300 movs r3, #0
- 800069c: 60fb str r3, [r7, #12]
- 800069e: 4b2d ldr r3, [pc, #180] ; (8000754 )
- 80006a0: 6b1b ldr r3, [r3, #48] ; 0x30
- 80006a2: 4a2c ldr r2, [pc, #176] ; (8000754 )
- 80006a4: f043 0380 orr.w r3, r3, #128 ; 0x80
- 80006a8: 6313 str r3, [r2, #48] ; 0x30
- 80006aa: 4b2a ldr r3, [pc, #168] ; (8000754 )
- 80006ac: 6b1b ldr r3, [r3, #48] ; 0x30
- 80006ae: f003 0380 and.w r3, r3, #128 ; 0x80
- 80006b2: 60fb str r3, [r7, #12]
- 80006b4: 68fb ldr r3, [r7, #12]
- __HAL_RCC_GPIOA_CLK_ENABLE();
- 80006b6: 2300 movs r3, #0
- 80006b8: 60bb str r3, [r7, #8]
- 80006ba: 4b26 ldr r3, [pc, #152] ; (8000754 )
- 80006bc: 6b1b ldr r3, [r3, #48] ; 0x30
- 80006be: 4a25 ldr r2, [pc, #148] ; (8000754 )
- 80006c0: f043 0301 orr.w r3, r3, #1
- 80006c4: 6313 str r3, [r2, #48] ; 0x30
- 80006c6: 4b23 ldr r3, [pc, #140] ; (8000754 )
- 80006c8: 6b1b ldr r3, [r3, #48] ; 0x30
- 80006ca: f003 0301 and.w r3, r3, #1
- 80006ce: 60bb str r3, [r7, #8]
- 80006d0: 68bb ldr r3, [r7, #8]
- __HAL_RCC_GPIOB_CLK_ENABLE();
- 80006d2: 2300 movs r3, #0
- 80006d4: 607b str r3, [r7, #4]
- 80006d6: 4b1f ldr r3, [pc, #124] ; (8000754 )
- 80006d8: 6b1b ldr r3, [r3, #48] ; 0x30
- 80006da: 4a1e ldr r2, [pc, #120] ; (8000754 )
- 80006dc: f043 0302 orr.w r3, r3, #2
- 80006e0: 6313 str r3, [r2, #48] ; 0x30
- 80006e2: 4b1c ldr r3, [pc, #112] ; (8000754 )
- 80006e4: 6b1b ldr r3, [r3, #48] ; 0x30
- 80006e6: f003 0302 and.w r3, r3, #2
- 80006ea: 607b str r3, [r7, #4]
- 80006ec: 687b ldr r3, [r7, #4]
-
- /*Configure GPIO pin Output Level */
- HAL_GPIO_WritePin(GPIOA, LD2_Pin | Door_Lock_Pin, GPIO_PIN_RESET);
- 80006ee: 2200 movs r2, #0
- 80006f0: f44f 7108 mov.w r1, #544 ; 0x220
- 80006f4: 4818 ldr r0, [pc, #96] ; (8000758 )
- 80006f6: f000 fd85 bl 8001204
-
- /*Configure GPIO pin : B1_Pin */
- GPIO_InitStruct.Pin = B1_Pin;
- 80006fa: f44f 5300 mov.w r3, #8192 ; 0x2000
- 80006fe: 617b str r3, [r7, #20]
- GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
- 8000700: f44f 1304 mov.w r3, #2162688 ; 0x210000
- 8000704: 61bb str r3, [r7, #24]
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- 8000706: 2300 movs r3, #0
- 8000708: 61fb str r3, [r7, #28]
- HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
- 800070a: f107 0314 add.w r3, r7, #20
+ /** Configure for the selected ADC regular channel its corresponding rank in the sequencer and its sample time.
+ */
+ sConfig.Channel = ADC_CHANNEL_1;
+ 8000700: 2301 movs r3, #1
+ 8000702: 603b str r3, [r7, #0]
+ sConfig.Rank = 1;
+ 8000704: 2301 movs r3, #1
+ 8000706: 607b str r3, [r7, #4]
+ sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES;
+ 8000708: 2300 movs r3, #0
+ 800070a: 60bb str r3, [r7, #8]
+ if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
+ 800070c: 463b mov r3, r7
800070e: 4619 mov r1, r3
- 8000710: 4812 ldr r0, [pc, #72] ; (800075c )
- 8000712: f000 fbdb bl 8000ecc
+ 8000710: 4805 ldr r0, [pc, #20] ; (8000728 )
+ 8000712: f000 fe63 bl 80013dc
+ 8000716: 4603 mov r3, r0
+ 8000718: 2b00 cmp r3, #0
+ 800071a: d001 beq.n 8000720
+ {
+ Error_Handler();
+ 800071c: f000 fa4a bl 8000bb4
+ }
+ /* USER CODE BEGIN ADC1_Init 2 */
- /*Configure GPIO pins : LD2_Pin Door_Lock_Pin */
- GPIO_InitStruct.Pin = LD2_Pin | Door_Lock_Pin;
- 8000716: f44f 7308 mov.w r3, #544 ; 0x220
- 800071a: 617b str r3, [r7, #20]
- GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- 800071c: 2301 movs r3, #1
- 800071e: 61bb str r3, [r7, #24]
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- 8000720: 2300 movs r3, #0
- 8000722: 61fb str r3, [r7, #28]
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 8000724: 2300 movs r3, #0
- 8000726: 623b str r3, [r7, #32]
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 8000728: f107 0314 add.w r3, r7, #20
- 800072c: 4619 mov r1, r3
- 800072e: 480a ldr r0, [pc, #40] ; (8000758 )
- 8000730: f000 fbcc bl 8000ecc
+ /* USER CODE END ADC1_Init 2 */
- /*Configure GPIO pin : Door_Sensor_Pin */
- GPIO_InitStruct.Pin = Door_Sensor_Pin;
- 8000734: 2380 movs r3, #128 ; 0x80
- 8000736: 617b str r3, [r7, #20]
- GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 8000738: 2300 movs r3, #0
- 800073a: 61bb str r3, [r7, #24]
- GPIO_InitStruct.Pull = GPIO_PULLUP;
- 800073c: 2301 movs r3, #1
- 800073e: 61fb str r3, [r7, #28]
- HAL_GPIO_Init(Door_Sensor_GPIO_Port, &GPIO_InitStruct);
- 8000740: f107 0314 add.w r3, r7, #20
- 8000744: 4619 mov r1, r3
- 8000746: 4804 ldr r0, [pc, #16] ; (8000758 )
- 8000748: f000 fbc0 bl 8000ecc
-
- /* USER CODE BEGIN MX_GPIO_Init_2 */
- /* USER CODE END MX_GPIO_Init_2 */
}
- 800074c: bf00 nop
- 800074e: 3728 adds r7, #40 ; 0x28
- 8000750: 46bd mov sp, r7
- 8000752: bd80 pop {r7, pc}
- 8000754: 40023800 .word 0x40023800
- 8000758: 40020000 .word 0x40020000
- 800075c: 40020800 .word 0x40020800
+ 8000720: bf00 nop
+ 8000722: 3710 adds r7, #16
+ 8000724: 46bd mov sp, r7
+ 8000726: bd80 pop {r7, pc}
+ 8000728: 2000007c .word 0x2000007c
+ 800072c: 40012000 .word 0x40012000
+ 8000730: 0f000001 .word 0x0f000001
-08000760 :
- * @brief Function implementing the mainTask thread.
+08000734 :
+ * @brief USART2 Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_USART2_UART_Init(void)
+{
+ 8000734: b580 push {r7, lr}
+ 8000736: af00 add r7, sp, #0
+ /* USER CODE END USART2_Init 0 */
+
+ /* USER CODE BEGIN USART2_Init 1 */
+
+ /* USER CODE END USART2_Init 1 */
+ huart2.Instance = USART2;
+ 8000738: 4b11 ldr r3, [pc, #68] ; (8000780 )
+ 800073a: 4a12 ldr r2, [pc, #72] ; (8000784 )
+ 800073c: 601a str r2, [r3, #0]
+ huart2.Init.BaudRate = 9600;
+ 800073e: 4b10 ldr r3, [pc, #64] ; (8000780 )
+ 8000740: f44f 5216 mov.w r2, #9600 ; 0x2580
+ 8000744: 605a str r2, [r3, #4]
+ huart2.Init.WordLength = UART_WORDLENGTH_8B;
+ 8000746: 4b0e ldr r3, [pc, #56] ; (8000780 )
+ 8000748: 2200 movs r2, #0
+ 800074a: 609a str r2, [r3, #8]
+ huart2.Init.StopBits = UART_STOPBITS_1;
+ 800074c: 4b0c ldr r3, [pc, #48] ; (8000780 )
+ 800074e: 2200 movs r2, #0
+ 8000750: 60da str r2, [r3, #12]
+ huart2.Init.Parity = UART_PARITY_NONE;
+ 8000752: 4b0b ldr r3, [pc, #44] ; (8000780 )
+ 8000754: 2200 movs r2, #0
+ 8000756: 611a str r2, [r3, #16]
+ huart2.Init.Mode = UART_MODE_TX_RX;
+ 8000758: 4b09 ldr r3, [pc, #36] ; (8000780 )
+ 800075a: 220c movs r2, #12
+ 800075c: 615a str r2, [r3, #20]
+ huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
+ 800075e: 4b08 ldr r3, [pc, #32] ; (8000780 )
+ 8000760: 2200 movs r2, #0
+ 8000762: 619a str r2, [r3, #24]
+ huart2.Init.OverSampling = UART_OVERSAMPLING_16;
+ 8000764: 4b06 ldr r3, [pc, #24] ; (8000780 )
+ 8000766: 2200 movs r2, #0
+ 8000768: 61da str r2, [r3, #28]
+ if (HAL_UART_Init(&huart2) != HAL_OK)
+ 800076a: 4805 ldr r0, [pc, #20] ; (8000780 )
+ 800076c: f002 fa50 bl 8002c10
+ 8000770: 4603 mov r3, r0
+ 8000772: 2b00 cmp r3, #0
+ 8000774: d001 beq.n 800077a
+ {
+ Error_Handler();
+ 8000776: f000 fa1d bl 8000bb4
+ }
+ /* USER CODE BEGIN USART2_Init 2 */
+
+ /* USER CODE END USART2_Init 2 */
+
+}
+ 800077a: bf00 nop
+ 800077c: bd80 pop {r7, pc}
+ 800077e: bf00 nop
+ 8000780: 200000c4 .word 0x200000c4
+ 8000784: 40004400 .word 0x40004400
+
+08000788 :
+ * @brief GPIO Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_GPIO_Init(void)
+{
+ 8000788: b580 push {r7, lr}
+ 800078a: b08a sub sp, #40 ; 0x28
+ 800078c: af00 add r7, sp, #0
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ 800078e: f107 0314 add.w r3, r7, #20
+ 8000792: 2200 movs r2, #0
+ 8000794: 601a str r2, [r3, #0]
+ 8000796: 605a str r2, [r3, #4]
+ 8000798: 609a str r2, [r3, #8]
+ 800079a: 60da str r2, [r3, #12]
+ 800079c: 611a str r2, [r3, #16]
+/* USER CODE BEGIN MX_GPIO_Init_1 */
+/* USER CODE END MX_GPIO_Init_1 */
+
+ /* GPIO Ports Clock Enable */
+ __HAL_RCC_GPIOC_CLK_ENABLE();
+ 800079e: 2300 movs r3, #0
+ 80007a0: 613b str r3, [r7, #16]
+ 80007a2: 4b34 ldr r3, [pc, #208] ; (8000874 )
+ 80007a4: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007a6: 4a33 ldr r2, [pc, #204] ; (8000874 )
+ 80007a8: f043 0304 orr.w r3, r3, #4
+ 80007ac: 6313 str r3, [r2, #48] ; 0x30
+ 80007ae: 4b31 ldr r3, [pc, #196] ; (8000874 )
+ 80007b0: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007b2: f003 0304 and.w r3, r3, #4
+ 80007b6: 613b str r3, [r7, #16]
+ 80007b8: 693b ldr r3, [r7, #16]
+ __HAL_RCC_GPIOH_CLK_ENABLE();
+ 80007ba: 2300 movs r3, #0
+ 80007bc: 60fb str r3, [r7, #12]
+ 80007be: 4b2d ldr r3, [pc, #180] ; (8000874 )
+ 80007c0: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007c2: 4a2c ldr r2, [pc, #176] ; (8000874 )
+ 80007c4: f043 0380 orr.w r3, r3, #128 ; 0x80
+ 80007c8: 6313 str r3, [r2, #48] ; 0x30
+ 80007ca: 4b2a ldr r3, [pc, #168] ; (8000874 )
+ 80007cc: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007ce: f003 0380 and.w r3, r3, #128 ; 0x80
+ 80007d2: 60fb str r3, [r7, #12]
+ 80007d4: 68fb ldr r3, [r7, #12]
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ 80007d6: 2300 movs r3, #0
+ 80007d8: 60bb str r3, [r7, #8]
+ 80007da: 4b26 ldr r3, [pc, #152] ; (8000874 )
+ 80007dc: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007de: 4a25 ldr r2, [pc, #148] ; (8000874 )
+ 80007e0: f043 0301 orr.w r3, r3, #1
+ 80007e4: 6313 str r3, [r2, #48] ; 0x30
+ 80007e6: 4b23 ldr r3, [pc, #140] ; (8000874 )
+ 80007e8: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007ea: f003 0301 and.w r3, r3, #1
+ 80007ee: 60bb str r3, [r7, #8]
+ 80007f0: 68bb ldr r3, [r7, #8]
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ 80007f2: 2300 movs r3, #0
+ 80007f4: 607b str r3, [r7, #4]
+ 80007f6: 4b1f ldr r3, [pc, #124] ; (8000874 )
+ 80007f8: 6b1b ldr r3, [r3, #48] ; 0x30
+ 80007fa: 4a1e ldr r2, [pc, #120] ; (8000874 )
+ 80007fc: f043 0302 orr.w r3, r3, #2
+ 8000800: 6313 str r3, [r2, #48] ; 0x30
+ 8000802: 4b1c ldr r3, [pc, #112] ; (8000874 )
+ 8000804: 6b1b ldr r3, [r3, #48] ; 0x30
+ 8000806: f003 0302 and.w r3, r3, #2
+ 800080a: 607b str r3, [r7, #4]
+ 800080c: 687b ldr r3, [r7, #4]
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOA, LD2_Pin|Door_Lock_Pin, GPIO_PIN_RESET);
+ 800080e: 2200 movs r2, #0
+ 8000810: f44f 7108 mov.w r1, #544 ; 0x220
+ 8000814: 4818 ldr r0, [pc, #96] ; (8000878 )
+ 8000816: f001 fa97 bl 8001d48
+
+ /*Configure GPIO pin : B1_Pin */
+ GPIO_InitStruct.Pin = B1_Pin;
+ 800081a: f44f 5300 mov.w r3, #8192 ; 0x2000
+ 800081e: 617b str r3, [r7, #20]
+ GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
+ 8000820: f44f 1304 mov.w r3, #2162688 ; 0x210000
+ 8000824: 61bb str r3, [r7, #24]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 8000826: 2300 movs r3, #0
+ 8000828: 61fb str r3, [r7, #28]
+ HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
+ 800082a: f107 0314 add.w r3, r7, #20
+ 800082e: 4619 mov r1, r3
+ 8000830: 4812 ldr r0, [pc, #72] ; (800087c )
+ 8000832: f001 f8ed bl 8001a10
+
+ /*Configure GPIO pins : LD2_Pin Door_Lock_Pin */
+ GPIO_InitStruct.Pin = LD2_Pin|Door_Lock_Pin;
+ 8000836: f44f 7308 mov.w r3, #544 ; 0x220
+ 800083a: 617b str r3, [r7, #20]
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ 800083c: 2301 movs r3, #1
+ 800083e: 61bb str r3, [r7, #24]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 8000840: 2300 movs r3, #0
+ 8000842: 61fb str r3, [r7, #28]
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ 8000844: 2300 movs r3, #0
+ 8000846: 623b str r3, [r7, #32]
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 8000848: f107 0314 add.w r3, r7, #20
+ 800084c: 4619 mov r1, r3
+ 800084e: 480a ldr r0, [pc, #40] ; (8000878 )
+ 8000850: f001 f8de bl 8001a10
+
+ /*Configure GPIO pin : Door_Sensor_Pin */
+ GPIO_InitStruct.Pin = Door_Sensor_Pin;
+ 8000854: 2380 movs r3, #128 ; 0x80
+ 8000856: 617b str r3, [r7, #20]
+ GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
+ 8000858: 2300 movs r3, #0
+ 800085a: 61bb str r3, [r7, #24]
+ GPIO_InitStruct.Pull = GPIO_PULLUP;
+ 800085c: 2301 movs r3, #1
+ 800085e: 61fb str r3, [r7, #28]
+ HAL_GPIO_Init(Door_Sensor_GPIO_Port, &GPIO_InitStruct);
+ 8000860: f107 0314 add.w r3, r7, #20
+ 8000864: 4619 mov r1, r3
+ 8000866: 4804 ldr r0, [pc, #16] ; (8000878 )
+ 8000868: f001 f8d2 bl 8001a10
+
+/* USER CODE BEGIN MX_GPIO_Init_2 */
+/* USER CODE END MX_GPIO_Init_2 */
+}
+ 800086c: bf00 nop
+ 800086e: 3728 adds r7, #40 ; 0x28
+ 8000870: 46bd mov sp, r7
+ 8000872: bd80 pop {r7, pc}
+ 8000874: 40023800 .word 0x40023800
+ 8000878: 40020000 .word 0x40020000
+ 800087c: 40020800 .word 0x40020800
+
+08000880 :
* @param argument: Not used
* @retval None
*/
/* USER CODE END Header_StartMainTask */
-void StartMainTask(void *argument) {
- 8000760: b580 push {r7, lr}
- 8000762: b084 sub sp, #16
- 8000764: af00 add r7, sp, #0
- 8000766: 6078 str r0, [r7, #4]
- /* USER CODE BEGIN 5 */
+void StartMainTask(void *argument)
+{
+ 8000880: b580 push {r7, lr}
+ 8000882: b084 sub sp, #16
+ 8000884: af00 add r7, sp, #0
+ 8000886: 6078 str r0, [r7, #4]
+ /* USER CODE BEGIN 5 */
memset(uart_buffer, 0, 10);
- 8000768: 220a movs r2, #10
- 800076a: 2100 movs r1, #0
- 800076c: 4833 ldr r0, [pc, #204] ; (800083c )
- 800076e: f004 feb5 bl 80054dc
+ 8000888: 220a movs r2, #10
+ 800088a: 2100 movs r1, #0
+ 800088c: 483d ldr r0, [pc, #244] ; (8000984 )
+ 800088e: f005 fbe5 bl 800605c
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1) {
- if (HAL_UART_Receive(&huart2, uart_buffer + uart_index, 1, 1000)
- 8000772: 4b33 ldr r3, [pc, #204] ; (8000840 )
- 8000774: 781b ldrb r3, [r3, #0]
- 8000776: 461a mov r2, r3
- 8000778: 4b30 ldr r3, [pc, #192] ; (800083c )
- 800077a: 18d1 adds r1, r2, r3
- 800077c: f44f 737a mov.w r3, #1000 ; 0x3e8
- 8000780: 2201 movs r2, #1
- 8000782: 4830 ldr r0, [pc, #192] ; (8000844 )
- 8000784: f001 fd81 bl 800228a
- 8000788: 4603 mov r3, r0
- 800078a: 2b00 cmp r3, #0
- 800078c: d152 bne.n 8000834
+ if (HAL_UART_Receive(&huart2, uart_buffer + uart_index, 1, 100)
+ 8000892: 4b3d ldr r3, [pc, #244] ; (8000988 )
+ 8000894: 781b ldrb r3, [r3, #0]
+ 8000896: 461a mov r2, r3
+ 8000898: 4b3a ldr r3, [pc, #232] ; (8000984 )
+ 800089a: 18d1 adds r1, r2, r3
+ 800089c: 2364 movs r3, #100 ; 0x64
+ 800089e: 2201 movs r2, #1
+ 80008a0: 483a ldr r0, [pc, #232] ; (800098c )
+ 80008a2: f002 fa94 bl 8002dce
+ 80008a6: 4603 mov r3, r0
+ 80008a8: 2b00 cmp r3, #0
+ 80008aa: d166 bne.n 800097a
== HAL_OK) {
uart_index++;
- 800078e: 4b2c ldr r3, [pc, #176] ; (8000840 )
- 8000790: 781b ldrb r3, [r3, #0]
- 8000792: 3301 adds r3, #1
- 8000794: b2da uxtb r2, r3
- 8000796: 4b2a ldr r3, [pc, #168] ; (8000840 )
- 8000798: 701a strb r2, [r3, #0]
+ 80008ac: 4b36 ldr r3, [pc, #216] ; (8000988 )
+ 80008ae: 781b ldrb r3, [r3, #0]
+ 80008b0: 3301 adds r3, #1
+ 80008b2: b2da uxtb r2, r3
+ 80008b4: 4b34 ldr r3, [pc, #208] ; (8000988 )
+ 80008b6: 701a strb r2, [r3, #0]
if (uart_buffer[uart_index - 1] == 0xFF) {
- 800079a: 4b29 ldr r3, [pc, #164] ; (8000840 )
- 800079c: 781b ldrb r3, [r3, #0]
- 800079e: 3b01 subs r3, #1
- 80007a0: 4a26 ldr r2, [pc, #152] ; (800083c )
- 80007a2: 5cd3 ldrb r3, [r2, r3]
- 80007a4: 2bff cmp r3, #255 ; 0xff
- 80007a6: d139 bne.n 800081c
+ 80008b8: 4b33 ldr r3, [pc, #204] ; (8000988 )
+ 80008ba: 781b ldrb r3, [r3, #0]
+ 80008bc: 3b01 subs r3, #1
+ 80008be: 4a31 ldr r2, [pc, #196] ; (8000984 )
+ 80008c0: 5cd3 ldrb r3, [r2, r3]
+ 80008c2: 2bff cmp r3, #255 ; 0xff
+ 80008c4: d14d bne.n 8000962
if (uart_index > 1) {
- 80007a8: 4b25 ldr r3, [pc, #148] ; (8000840 )
- 80007aa: 781b ldrb r3, [r3, #0]
- 80007ac: 2b01 cmp r3, #1
- 80007ae: d92c bls.n 800080a
- //Command Internal LED
+ 80008c6: 4b30 ldr r3, [pc, #192] ; (8000988 )
+ 80008c8: 781b ldrb r3, [r3, #0]
+ 80008ca: 2b01 cmp r3, #1
+ 80008cc: d940 bls.n 8000950
+ // Command Internal LED
if (uart_buffer[0] == 0x00) {
- 80007b0: 4b22 ldr r3, [pc, #136] ; (800083c )
- 80007b2: 781b ldrb r3, [r3, #0]
- 80007b4: 2b00 cmp r3, #0
- 80007b6: d107 bne.n 80007c8
+ 80008ce: 4b2d ldr r3, [pc, #180] ; (8000984 )
+ 80008d0: 781b ldrb r3, [r3, #0]
+ 80008d2: 2b00 cmp r3, #0
+ 80008d4: d107 bne.n 80008e6
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, uart_buffer[1]);
- 80007b8: 4b20 ldr r3, [pc, #128] ; (800083c )
- 80007ba: 785b ldrb r3, [r3, #1]
- 80007bc: 461a mov r2, r3
- 80007be: 2120 movs r1, #32
- 80007c0: 4821 ldr r0, [pc, #132] ; (8000848 )
- 80007c2: f000 fd1f bl 8001204
- 80007c6: e020 b.n 800080a
+ 80008d6: 4b2b ldr r3, [pc, #172] ; (8000984 )
+ 80008d8: 785b ldrb r3, [r3, #1]
+ 80008da: 461a mov r2, r3
+ 80008dc: 2120 movs r1, #32
+ 80008de: 482c ldr r0, [pc, #176] ; (8000990 )
+ 80008e0: f001 fa32 bl 8001d48
+ 80008e4: e034 b.n 8000950
}
// Get Current Door State
else if (uart_buffer[0] == 0x01) {
- 80007c8: 4b1c ldr r3, [pc, #112] ; (800083c )
- 80007ca: 781b ldrb r3, [r3, #0]
- 80007cc: 2b01 cmp r3, #1
- 80007ce: d10f bne.n 80007f0
+ 80008e6: 4b27 ldr r3, [pc, #156] ; (8000984 )
+ 80008e8: 781b ldrb r3, [r3, #0]
+ 80008ea: 2b01 cmp r3, #1
+ 80008ec: d10f bne.n 800090e
uint8_t payload[3] = { 0x01, door_state, 0xFF };
- 80007d0: 2301 movs r3, #1
- 80007d2: 733b strb r3, [r7, #12]
- 80007d4: 4b1d ldr r3, [pc, #116] ; (800084c )
- 80007d6: 781b ldrb r3, [r3, #0]
- 80007d8: 737b strb r3, [r7, #13]
- 80007da: 23ff movs r3, #255 ; 0xff
- 80007dc: 73bb strb r3, [r7, #14]
+ 80008ee: 2301 movs r3, #1
+ 80008f0: 733b strb r3, [r7, #12]
+ 80008f2: 4b28 ldr r3, [pc, #160] ; (8000994 )
+ 80008f4: 781b ldrb r3, [r3, #0]
+ 80008f6: 737b strb r3, [r7, #13]
+ 80008f8: 23ff movs r3, #255 ; 0xff
+ 80008fa: 73bb strb r3, [r7, #14]
HAL_UART_Transmit(&huart2, payload, 3, 1500);
- 80007de: f107 010c add.w r1, r7, #12
- 80007e2: f240 53dc movw r3, #1500 ; 0x5dc
- 80007e6: 2203 movs r2, #3
- 80007e8: 4816 ldr r0, [pc, #88] ; (8000844 )
- 80007ea: f001 fcbc bl 8002166
- 80007ee: e00c b.n 800080a
+ 80008fc: f107 010c add.w r1, r7, #12
+ 8000900: f240 53dc movw r3, #1500 ; 0x5dc
+ 8000904: 2203 movs r2, #3
+ 8000906: 4821 ldr r0, [pc, #132] ; (800098c )
+ 8000908: f002 f9cf bl 8002caa
+ 800090c: e020 b.n 8000950
}
- //
+ // Set Door Lock State
else if (uart_buffer[0] == 0x02) {
- 80007f0: 4b12 ldr r3, [pc, #72] ; (800083c )
- 80007f2: 781b ldrb r3, [r3, #0]
- 80007f4: 2b02 cmp r3, #2
- 80007f6: d108 bne.n 800080a
+ 800090e: 4b1d ldr r3, [pc, #116] ; (8000984 )
+ 8000910: 781b ldrb r3, [r3, #0]
+ 8000912: 2b02 cmp r3, #2
+ 8000914: d109 bne.n 800092a
door_lock_state_command = uart_buffer[1];
- 80007f8: 4b10 ldr r3, [pc, #64] ; (800083c )
- 80007fa: 785b ldrb r3, [r3, #1]
- 80007fc: 2b00 cmp r3, #0
- 80007fe: bf14 ite ne
- 8000800: 2301 movne r3, #1
- 8000802: 2300 moveq r3, #0
- 8000804: b2da uxtb r2, r3
- 8000806: 4b12 ldr r3, [pc, #72] ; (8000850 )
- 8000808: 701a strb r2, [r3, #0]
+ 8000916: 4b1b ldr r3, [pc, #108] ; (8000984 )
+ 8000918: 785b ldrb r3, [r3, #1]
+ 800091a: 2b00 cmp r3, #0
+ 800091c: bf14 ite ne
+ 800091e: 2301 movne r3, #1
+ 8000920: 2300 moveq r3, #0
+ 8000922: b2da uxtb r2, r3
+ 8000924: 4b1c ldr r3, [pc, #112] ; (8000998 )
+ 8000926: 701a strb r2, [r3, #0]
+ 8000928: e012 b.n 8000950
+ // Get Current Scan Active State
+ } else if (uart_buffer[0] == 0x03) {
+ 800092a: 4b16 ldr r3, [pc, #88] ; (8000984 )
+ 800092c: 781b ldrb r3, [r3, #0]
+ 800092e: 2b03 cmp r3, #3
+ 8000930: d10e bne.n 8000950
+ uint8_t payload[3] = { 0x02, scan_active, 0xFF };
+ 8000932: 2302 movs r3, #2
+ 8000934: 723b strb r3, [r7, #8]
+ 8000936: 4b19 ldr r3, [pc, #100] ; (800099c )
+ 8000938: 781b ldrb r3, [r3, #0]
+ 800093a: 727b strb r3, [r7, #9]
+ 800093c: 23ff movs r3, #255 ; 0xff
+ 800093e: 72bb strb r3, [r7, #10]
+ HAL_UART_Transmit(&huart2, payload, 3, 1500);
+ 8000940: f107 0108 add.w r1, r7, #8
+ 8000944: f240 53dc movw r3, #1500 ; 0x5dc
+ 8000948: 2203 movs r2, #3
+ 800094a: 4810 ldr r0, [pc, #64] ; (800098c )
+ 800094c: f002 f9ad bl 8002caa
}
}
uart_index = 0;
- 800080a: 4b0d ldr r3, [pc, #52] ; (8000840 )
- 800080c: 2200 movs r2, #0
- 800080e: 701a strb r2, [r3, #0]
+ 8000950: 4b0d ldr r3, [pc, #52] ; (8000988 )
+ 8000952: 2200 movs r2, #0
+ 8000954: 701a strb r2, [r3, #0]
memset(uart_buffer, 0, 10);
- 8000810: 220a movs r2, #10
- 8000812: 2100 movs r1, #0
- 8000814: 4809 ldr r0, [pc, #36] ; (800083c )
- 8000816: f004 fe61 bl 80054dc
- 800081a: e00b b.n 8000834
+ 8000956: 220a movs r2, #10
+ 8000958: 2100 movs r1, #0
+ 800095a: 480a ldr r0, [pc, #40] ; (8000984 )
+ 800095c: f005 fb7e bl 800605c
+ 8000960: e00b b.n 800097a
} else if (uart_index > sizeof(uart_buffer) - 1) {
- 800081c: 4b08 ldr r3, [pc, #32] ; (8000840 )
- 800081e: 781b ldrb r3, [r3, #0]
- 8000820: 2b09 cmp r3, #9
- 8000822: d907 bls.n 8000834
+ 8000962: 4b09 ldr r3, [pc, #36] ; (8000988 )
+ 8000964: 781b ldrb r3, [r3, #0]
+ 8000966: 2b09 cmp r3, #9
+ 8000968: d907 bls.n 800097a