| 
    Stima V4 Slave RAIN
    4.2
    
   | 
 
Interface STM32 hardware_hal STIMAV4. More...
#include "drivers/module_slave_hal.hpp"#include "stm32l4xx_ll_system.h"#include "stm32l4xx_ll_cortex.h"Go to the source code of this file.
Functions | |
| void | SystemClock_Config (void) | 
| System Clock Configuration.  More... | |
| void | SetupSystemPeripheral (void) | 
| Startup PeripheralConfig Local Board.  More... | |
| void | STM32L4GetCPUID (uint8_t *ptrCpuId) | 
| Get Unique ID HW of CPU (SerialNumber Unique ID)  More... | |
| uint64_t | StimaV4GetSerialNumber (void) | 
| Get StimaV4 Serial Number from UID Cpu and Module TYPE.  More... | |
| void | MX_CAN1_Init (void) | 
| CAN1 Initialization Function.  More... | |
| void | MX_GPIO_Init (void) | 
| GPIO Initialization Function.  More... | |
| void | HAL_MspInit (void) | 
| Initializes the Global MSP.  More... | |
| void | HAL_CAN_MspInit (CAN_HandleTypeDef *hcan) | 
| CAN MSP Initialization. This function configures the hardware resources used in this example.  More... | |
| void | HAL_CAN_MspDeInit (CAN_HandleTypeDef *hcan) | 
| CAN MSP De-Initialization. This function freeze the hardware resources used in this example.  More... | |
Variables | |
| CAN_HandleTypeDef | hcan1 | 
Interface STM32 hardware_hal STIMAV4.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/licenses/.
Definition in file module_slave_hal.cpp.
| void HAL_CAN_MspDeInit | ( | CAN_HandleTypeDef * | hcan | ) | 
CAN MSP De-Initialization. This function freeze the hardware resources used in this example.
| hcan | CAN handle pointer | 
CAN1 GPIO Configuration PB12 ---—> CAN1_RX PB13 ---—> CAN1_TX
Definition at line 554 of file module_slave_hal.cpp.
| void HAL_CAN_MspInit | ( | CAN_HandleTypeDef * | hcan | ) | 
CAN MSP Initialization. This function configures the hardware resources used in this example.
| hcan | CAN handle pointer | 
Definition at line 516 of file module_slave_hal.cpp.
| void HAL_MspInit | ( | void | ) | 
Initializes the Global MSP.
PVD Configuration
Enable the PVD Output
Definition at line 481 of file module_slave_hal.cpp.
| void MX_CAN1_Init | ( | void | ) | 
CAN1 Initialization Function.
Definition at line 333 of file module_slave_hal.cpp.
| void MX_GPIO_Init | ( | void | ) | 
GPIO Initialization Function.
Definition at line 404 of file module_slave_hal.cpp.
| void SetupSystemPeripheral | ( | void | ) | 
Startup PeripheralConfig Local Board.
Enable cycle counter (for debug)
Definition at line 256 of file module_slave_hal.cpp.
| uint64_t StimaV4GetSerialNumber | ( | void | ) | 
Get StimaV4 Serial Number from UID Cpu and Module TYPE.
Definition at line 312 of file module_slave_hal.cpp.
| void STM32L4GetCPUID | ( | uint8_t * | ptrCpuId | ) | 
Get Unique ID HW of CPU (SerialNumber Unique ID)
| ptrCpuId | pointer to external 12 byte buffer required (CPU_ID) | 
Definition at line 304 of file module_slave_hal.cpp.
| void SystemClock_Config | ( | void | ) | 
System Clock Configuration.
Configure the main internal regulator output voltage
Configure LSE Drive Capability
Initializes the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef structure.
Initializes the CPU, AHB and APB buses clocks
Enable MSI Auto calibration
Enable the SYSCFG APB clock
Configures CRS
Definition at line 183 of file module_slave_hal.cpp.
| CAN_HandleTypeDef hcan1 | 
Definition at line 40 of file module_slave_hal.cpp.