Basic I2C functionality
This commit is contained in:
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"C_Cpp.intelliSenseEngine": "disabled",
|
"C_Cpp.intelliSenseEngine": "disabled",
|
||||||
|
|
||||||
"clangd.path": "/usr/bin/clangd",
|
"clangd.path": "/usr/bin/clangd",
|
||||||
"clangd.arguments": ["-log=verbose",
|
"clangd.arguments": [
|
||||||
|
"-log=verbose",
|
||||||
"-pretty",
|
"-pretty",
|
||||||
"--background-index",
|
"--background-index",
|
||||||
"--query-driver=/usr/bin/arm-none-eabi-g++",
|
"--query-driver=/usr/bin/arm-none-eabi-g++",
|
||||||
@@ -21,6 +21,5 @@
|
|||||||
"system_stm32f4xx.h": "c",
|
"system_stm32f4xx.h": "c",
|
||||||
"core_cm4.h": "c"
|
"core_cm4.h": "c"
|
||||||
},
|
},
|
||||||
cortex-debug
|
|
||||||
"cortex-debug.stlinkPath.linux": "/home/moritz/bin/st/stm32cubeclt/STLink-gdb-server/bin/ST-LINK_gdbserver"
|
"cortex-debug.stlinkPath.linux": "/home/moritz/bin/st/stm32cubeclt/STLink-gdb-server/bin/ST-LINK_gdbserver"
|
||||||
}
|
}
|
@@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.22)
|
|||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_C_EXTENSIONS ON)
|
set(CMAKE_C_EXTENSIONS ON)
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
set(CMAKE_CXX_STANDARD 23)
|
||||||
|
|
||||||
|
|
||||||
# Define the build type
|
# Define the build type
|
||||||
@@ -23,7 +23,7 @@ endif()
|
|||||||
set(CMAKE_PROJECT_NAME weight_cell)
|
set(CMAKE_PROJECT_NAME weight_cell)
|
||||||
|
|
||||||
# Color output
|
# Color output
|
||||||
set(CMAKE_CXX_FLAGSS "-fdiagnostics-color=always")
|
set(CMAKE_CXX_FLAGSS "-fdiagnostics-color=always -funwind-tables")
|
||||||
|
|
||||||
# Include toolchain file
|
# Include toolchain file
|
||||||
include("cmake/gcc-arm-none-eabi.cmake")
|
include("cmake/gcc-arm-none-eabi.cmake")
|
||||||
@@ -54,6 +54,7 @@ target_sources(${CMAKE_PROJECT_NAME} PRIVATE
|
|||||||
Core/Src/main.cpp
|
Core/Src/main.cpp
|
||||||
Core/Src/nau7802.cpp
|
Core/Src/nau7802.cpp
|
||||||
Core/Src/usart.cpp
|
Core/Src/usart.cpp
|
||||||
|
Core/Src/i2c.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add include paths
|
# Add include paths
|
||||||
|
32
Core/Inc/i2c.hpp
Normal file
32
Core/Inc/i2c.hpp
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
#include "stm32f401xe.h"
|
||||||
|
#include "stm32f4xx_hal.h"
|
||||||
|
#include "stm32f4xx_hal_i2c.h"
|
||||||
|
#include "stm32f4xx_hal_uart.h"
|
||||||
|
|
||||||
|
namespace driver::i2c {
|
||||||
|
|
||||||
|
constexpr const uint32_t I2C_TIMEOUT_MS{200};
|
||||||
|
|
||||||
|
class I2c {
|
||||||
|
public:
|
||||||
|
explicit I2c(I2C_TypeDef* i2c, const uint32_t clockSpeed, const uint32_t dutyCycle,
|
||||||
|
const uint32_t ownAddress1, const uint32_t addressingMode,
|
||||||
|
const uint32_t dualAddressMode, const uint32_t ownAddress2,
|
||||||
|
const uint32_t generalCallMode, const uint32_t noStretchMode);
|
||||||
|
~I2c() = default;
|
||||||
|
|
||||||
|
bool init();
|
||||||
|
void deinit();
|
||||||
|
HAL_StatusTypeDef write(const uint16_t slaveAddr, const uint16_t memAddr,
|
||||||
|
std::vector<uint8_t>& data);
|
||||||
|
std::pair<HAL_StatusTypeDef, uint8_t> read(const uint16_t slaveAddr, const uint16_t memAddr);
|
||||||
|
uint32_t getLastError();
|
||||||
|
|
||||||
|
private:
|
||||||
|
I2C_HandleTypeDef mHandle;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace driver::i2c
|
@@ -53,7 +53,7 @@
|
|||||||
/* #define HAL_SRAM_MODULE_ENABLED */
|
/* #define HAL_SRAM_MODULE_ENABLED */
|
||||||
/* #define HAL_SDRAM_MODULE_ENABLED */
|
/* #define HAL_SDRAM_MODULE_ENABLED */
|
||||||
/* #define HAL_HASH_MODULE_ENABLED */
|
/* #define HAL_HASH_MODULE_ENABLED */
|
||||||
/* #define HAL_I2C_MODULE_ENABLED */
|
#define HAL_I2C_MODULE_ENABLED
|
||||||
/* #define HAL_I2S_MODULE_ENABLED */
|
/* #define HAL_I2S_MODULE_ENABLED */
|
||||||
/* #define HAL_IWDG_MODULE_ENABLED */
|
/* #define HAL_IWDG_MODULE_ENABLED */
|
||||||
/* #define HAL_LTDC_MODULE_ENABLED */
|
/* #define HAL_LTDC_MODULE_ENABLED */
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <ranges>
|
|
||||||
#include <sstream>
|
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
||||||
#include "stm32f401xe.h"
|
#include "stm32f401xe.h"
|
||||||
@@ -10,7 +8,6 @@
|
|||||||
|
|
||||||
namespace driver::usart {
|
namespace driver::usart {
|
||||||
|
|
||||||
constexpr const uint8_t TX_BUFSIZE{20};
|
|
||||||
constexpr const uint8_t TX_TIMEOUT_MS{200};
|
constexpr const uint8_t TX_TIMEOUT_MS{200};
|
||||||
|
|
||||||
class Usart {
|
class Usart {
|
||||||
|
77
Core/Src/i2c.cpp
Normal file
77
Core/Src/i2c.cpp
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
#include "i2c.hpp"
|
||||||
|
|
||||||
|
#include "pindef.hpp"
|
||||||
|
#include "stm32f4xx_hal_i2c.h"
|
||||||
|
|
||||||
|
namespace driver::i2c {
|
||||||
|
I2c::I2c(I2C_TypeDef* i2c, const uint32_t clockSpeed, const uint32_t dutyCycle,
|
||||||
|
const uint32_t ownAddress1, const uint32_t addressingMode, const uint32_t dualAddressMode,
|
||||||
|
const uint32_t ownAddress2, const uint32_t generalCallMode, const uint32_t noStretchMode)
|
||||||
|
: mHandle{.Instance = i2c,
|
||||||
|
.Init{.ClockSpeed = clockSpeed,
|
||||||
|
.DutyCycle = dutyCycle,
|
||||||
|
.OwnAddress1 = ownAddress1,
|
||||||
|
.AddressingMode = addressingMode,
|
||||||
|
.DualAddressMode = dualAddressMode,
|
||||||
|
.OwnAddress2 = ownAddress2,
|
||||||
|
.GeneralCallMode = generalCallMode,
|
||||||
|
.NoStretchMode = noStretchMode},
|
||||||
|
.pBuffPtr = nullptr,
|
||||||
|
.XferSize = 0,
|
||||||
|
.XferCount = 0,
|
||||||
|
.XferOptions = 0,
|
||||||
|
.PreviousState = 0,
|
||||||
|
.hdmatx = nullptr,
|
||||||
|
.hdmarx = nullptr,
|
||||||
|
.Lock = HAL_UNLOCKED,
|
||||||
|
.State = HAL_I2C_STATE_RESET,
|
||||||
|
.Mode = HAL_I2C_MODE_NONE,
|
||||||
|
.ErrorCode = HAL_I2C_ERROR_NONE,
|
||||||
|
.Devaddress = 0,
|
||||||
|
.Memaddress = 0,
|
||||||
|
.MemaddSize = 0,
|
||||||
|
.EventCount = 0} {}
|
||||||
|
|
||||||
|
bool I2c::init() {
|
||||||
|
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||||
|
if (mHandle.Instance == I2C1) {
|
||||||
|
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||||
|
/**I2C1 GPIO Configuration
|
||||||
|
PB6 ------> I2C1_SCL
|
||||||
|
PB7 ------> I2C1_SDA
|
||||||
|
*/
|
||||||
|
GPIO_InitStruct.Pin = GPIO_PIN_6 | GPIO_PIN_7;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
|
GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
|
||||||
|
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
__HAL_RCC_I2C1_CLK_ENABLE();
|
||||||
|
}
|
||||||
|
return HAL_I2C_Init(&mHandle) == HAL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
void I2c::deinit() {}
|
||||||
|
|
||||||
|
HAL_StatusTypeDef I2c::write(const uint16_t slaveAddr, const uint16_t memAddr,
|
||||||
|
std::vector<uint8_t>& data) {
|
||||||
|
// Slave address needs to be shifted to the left, so that the r/w bit can be set by the HAL method
|
||||||
|
// Addressing mode for slaves is fixed to 8bit for now...
|
||||||
|
return HAL_I2C_Mem_Write(&mHandle, slaveAddr << 1, memAddr, I2C_MEMADD_SIZE_8BIT, data.data(),
|
||||||
|
data.size(), I2C_TIMEOUT_MS);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::pair<HAL_StatusTypeDef, uint8_t> I2c::read(const uint16_t slaveAddr, const uint16_t memAddr) {
|
||||||
|
uint8_t data;
|
||||||
|
// Slave address needs to be shifted to the left, so that the r/w bit can be set by the HAL method
|
||||||
|
auto state = HAL_I2C_Mem_Read(&mHandle, slaveAddr << 1, memAddr, I2C_MEMADD_SIZE_8BIT, &data, 1,
|
||||||
|
I2C_TIMEOUT_MS);
|
||||||
|
return {state, data};
|
||||||
|
}
|
||||||
|
|
||||||
|
uint32_t I2c::getLastError() {
|
||||||
|
return mHandle.ErrorCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace driver::i2c
|
@@ -1,12 +1,22 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdint>
|
||||||
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "gpio.h"
|
#include "gpio.h"
|
||||||
|
#include "i2c.hpp"
|
||||||
|
#include "stm32_hal_legacy.h"
|
||||||
#include "stm32f4xx_hal.h"
|
#include "stm32f4xx_hal.h"
|
||||||
|
#include "stm32f4xx_hal_def.h"
|
||||||
|
#include "stm32f4xx_hal_i2c.h"
|
||||||
#include "usart.hpp"
|
#include "usart.hpp"
|
||||||
|
|
||||||
|
// needs to be global to be accessible in error handler
|
||||||
|
std::unique_ptr<driver::usart::Usart> usart2{nullptr};
|
||||||
|
|
||||||
void SystemClock_Config(void);
|
void SystemClock_Config(void);
|
||||||
|
void checkHalStatus(HAL_StatusTypeDef);
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
|
|
||||||
@@ -19,20 +29,85 @@ int main(void) {
|
|||||||
/* Initialize all configured peripherals */
|
/* Initialize all configured peripherals */
|
||||||
MX_GPIO_Init();
|
MX_GPIO_Init();
|
||||||
|
|
||||||
driver::usart::Usart usart2(USART2, 115200, UART_WORDLENGTH_8B, UART_STOPBITS_1,
|
usart2 = std::make_unique<driver::usart::Usart>(
|
||||||
UART_PARITY_NONE, UART_MODE_TX_RX, UART_HWCONTROL_NONE,
|
driver::usart::Usart(USART2, 115200, UART_WORDLENGTH_8B, UART_STOPBITS_1, UART_PARITY_NONE,
|
||||||
UART_OVERSAMPLING_16);
|
UART_MODE_TX_RX, UART_HWCONTROL_NONE, UART_OVERSAMPLING_16));
|
||||||
|
|
||||||
usart2.init();
|
usart2->init();
|
||||||
usart2.println("");
|
usart2->println("");
|
||||||
usart2.println("\r\nWeight cell init.");
|
usart2->println("\r\nWeight cell init.");
|
||||||
|
|
||||||
int i{0};
|
auto i2c1 = std::make_unique<driver::i2c::I2c>(
|
||||||
|
I2C1, 100000, I2C_DUTYCYCLE_2, 0x00, I2C_ADDRESSINGMODE_7BIT, I2C_DUALADDRESS_DISABLED,
|
||||||
|
0x00, I2C_GENERALCALL_DISABLED, I2C_NOSTRETCH_DISABLED);
|
||||||
|
|
||||||
|
if (!i2c1->init()) {
|
||||||
|
usart2->println("Error intializing I2C1!");
|
||||||
|
usart2->println("Last Error: " + std::to_string(i2c1->getLastError()));
|
||||||
|
Error_Handler();
|
||||||
|
} else {
|
||||||
|
usart2->println("I2C1 intialized successful");
|
||||||
|
}
|
||||||
|
// init NAU7802
|
||||||
|
{
|
||||||
|
std::vector<uint8_t> data = {0x01};
|
||||||
|
// reset NAU7802
|
||||||
|
checkHalStatus(i2c1->write(0x2A, 0x00, data));
|
||||||
|
usart2->println("Reset nau");
|
||||||
|
HAL_Delay(100);
|
||||||
|
|
||||||
|
// power up digital logic
|
||||||
|
data[0] = 0x02;
|
||||||
|
i2c1->write(0x2A, 0x00, data);
|
||||||
|
HAL_Delay(100);
|
||||||
|
usart2->println("PUP digi");
|
||||||
|
|
||||||
|
// power up analog logic
|
||||||
|
data[0] = 0x06;
|
||||||
|
i2c1->write(0x2A, 0x00, data);
|
||||||
|
HAL_Delay(100);
|
||||||
|
|
||||||
|
usart2->println("PUP analog");
|
||||||
|
|
||||||
|
// use internal LDO as reference
|
||||||
|
data[0] = 0x86;
|
||||||
|
checkHalStatus(i2c1->write(0x2A, 0x00, data));
|
||||||
|
HAL_Delay(100);
|
||||||
|
|
||||||
|
// print status back to usart
|
||||||
|
auto ret = i2c1->read(0x2A, 0x00);
|
||||||
|
checkHalStatus(ret.first);
|
||||||
|
usart2->println("NAU7802 reports state " + std::to_string(ret.second) + " at 0x00");
|
||||||
|
|
||||||
|
// REG_CHPS CLK_CHP off
|
||||||
|
data[0] = 0x30;
|
||||||
|
checkHalStatus(i2c1->write(0x2A, 0x15, data));
|
||||||
|
HAL_Delay(100);
|
||||||
|
}
|
||||||
|
|
||||||
|
uint32_t measurement = 0;
|
||||||
|
auto val = i2c1->read(0x2A, 0x12);
|
||||||
|
measurement |= (val.second << 16);
|
||||||
|
|
||||||
|
val = i2c1->read(0x2A, 0x13);
|
||||||
|
measurement |= (val.second << 8);
|
||||||
|
|
||||||
|
val = i2c1->read(0x2A, 0x14);
|
||||||
|
measurement |= val.second << 16;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
std::string buf{"Iteration #"};
|
measurement = 0;
|
||||||
|
val = i2c1->read(0x2A, 0x12);
|
||||||
|
measurement |= (val.second << 16);
|
||||||
|
|
||||||
|
val = i2c1->read(0x2A, 0x13);
|
||||||
|
measurement |= (val.second << 8);
|
||||||
|
|
||||||
|
val = i2c1->read(0x2A, 0x14);
|
||||||
|
measurement |= val.second << 16;
|
||||||
|
|
||||||
|
usart2->println("Measurement " + std::to_string(measurement) + " counts");
|
||||||
|
|
||||||
usart2.println(buf + std::to_string(i++));
|
|
||||||
HAL_Delay(1000);
|
HAL_Delay(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -75,6 +150,17 @@ void SystemClock_Config(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void checkHalStatus(HAL_StatusTypeDef status) {
|
||||||
|
if (status == HAL_OK) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (usart2 == nullptr) {
|
||||||
|
Error_Handler();
|
||||||
|
return; // never reached
|
||||||
|
}
|
||||||
|
usart2->println("HAL Status not okay! Calling Error Handler");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function is executed in case of error occurrence.
|
* @brief This function is executed in case of error occurrence.
|
||||||
* @retval None
|
* @retval None
|
||||||
@@ -82,6 +168,10 @@ void SystemClock_Config(void) {
|
|||||||
void Error_Handler(void) {
|
void Error_Handler(void) {
|
||||||
/* USER CODE BEGIN Error_Handler_Debug */
|
/* USER CODE BEGIN Error_Handler_Debug */
|
||||||
/* User can add his own implementation to report the HAL error return state */
|
/* User can add his own implementation to report the HAL error return state */
|
||||||
|
if (usart2 != nullptr) {
|
||||||
|
usart2->println("=== ERROR HANDLER ===");
|
||||||
|
usart2->println("entering infinite loop...");
|
||||||
|
}
|
||||||
__disable_irq();
|
__disable_irq();
|
||||||
while (1) {}
|
while (1) {}
|
||||||
/* USER CODE END Error_Handler_Debug */
|
/* USER CODE END Error_Handler_Debug */
|
||||||
|
@@ -12,13 +12,29 @@ namespace driver::usart {
|
|||||||
Usart::Usart(USART_TypeDef* usart, uint32_t baudRate, uint32_t wordLength, uint32_t stopBits,
|
Usart::Usart(USART_TypeDef* usart, uint32_t baudRate, uint32_t wordLength, uint32_t stopBits,
|
||||||
uint32_t parity, uint32_t mode, uint32_t hwFlowCtl, uint32_t overSampling)
|
uint32_t parity, uint32_t mode, uint32_t hwFlowCtl, uint32_t overSampling)
|
||||||
: mHandle{.Instance = usart,
|
: mHandle{.Instance = usart,
|
||||||
.Init{.BaudRate = baudRate,
|
.Init{
|
||||||
|
.BaudRate = baudRate,
|
||||||
.WordLength = wordLength,
|
.WordLength = wordLength,
|
||||||
.StopBits = stopBits,
|
.StopBits = stopBits,
|
||||||
.Parity = parity,
|
.Parity = parity,
|
||||||
.Mode = mode,
|
.Mode = mode,
|
||||||
.HwFlowCtl = hwFlowCtl,
|
.HwFlowCtl = hwFlowCtl,
|
||||||
.OverSampling = overSampling}} {}
|
.OverSampling = overSampling,
|
||||||
|
},
|
||||||
|
.pTxBuffPtr = nullptr,
|
||||||
|
.TxXferSize = 0,
|
||||||
|
.TxXferCount = 0,
|
||||||
|
.pRxBuffPtr = nullptr,
|
||||||
|
.RxXferSize = 0,
|
||||||
|
.RxXferCount = 0,
|
||||||
|
.ReceptionType = HAL_UART_RECEPTION_STANDARD,
|
||||||
|
.RxEventType = HAL_UART_RXEVENT_TC,
|
||||||
|
.hdmatx = nullptr,
|
||||||
|
.hdmarx = nullptr,
|
||||||
|
.Lock = HAL_UNLOCKED,
|
||||||
|
.gState = HAL_UART_STATE_RESET,
|
||||||
|
.RxState = HAL_UART_STATE_RESET,
|
||||||
|
.ErrorCode = 0} {}
|
||||||
|
|
||||||
bool Usart::init() {
|
bool Usart::init() {
|
||||||
GPIO_InitTypeDef GPIO_InitStruct;
|
GPIO_InitTypeDef GPIO_InitStruct;
|
||||||
@@ -38,7 +54,7 @@ bool Usart::init() {
|
|||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||||
}
|
}
|
||||||
|
|
||||||
return HAL_UART_Init(&mHandle) != HAL_OK;
|
return HAL_UART_Init(&mHandle) == HAL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Usart::deinit() {
|
void Usart::deinit() {
|
||||||
@@ -60,14 +76,9 @@ void Usart::println(const std::string_view str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Usart::tx(const std::string_view range) {
|
void Usart::tx(const std::string_view range) {
|
||||||
for (uint32_t pt{0}; pt <= range.size(); pt += TX_BUFSIZE) {
|
|
||||||
uint8_t txLen{TX_BUFSIZE};
|
HAL_UART_Transmit(&mHandle, reinterpret_cast<const uint8_t*>(range.begin()), range.size(),
|
||||||
if (range.length() < TX_BUFSIZE) {
|
|
||||||
txLen = range.length();
|
|
||||||
}
|
|
||||||
HAL_UART_Transmit(&mHandle, reinterpret_cast<const uint8_t*>(range.begin() + pt), txLen,
|
|
||||||
TX_TIMEOUT_MS);
|
TX_TIMEOUT_MS);
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace driver::usart
|
} // namespace driver::usart
|
@@ -25,6 +25,7 @@ target_sources(stm32cubemx INTERFACE
|
|||||||
../../Core/Src/stm32f4xx_it.c
|
../../Core/Src/stm32f4xx_it.c
|
||||||
../../Core/Src/stm32f4xx_hal_msp.c
|
../../Core/Src/stm32f4xx_hal_msp.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_hal_i2c.c
|
||||||
../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.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_rcc_ex.c
|
||||||
../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c
|
../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c
|
||||||
|
Reference in New Issue
Block a user