|
NNP STM Generic Remote Module git-main
|
: Main program body More...
Go to the source code of this file.
Functions | |
| void | SystemClock_Config (void) |
| System Clock Configuration. | |
| void | initNodeIDSerialNumber (void) |
| Initializes node ID and serial number data in the object dictionary. | |
| void | ReadMemory (void) |
| Command processor to let CE read various memory locations. | |
| UNS8 | ReadLocalFlashMemory (void) |
| Read flash memory in CPU. | |
| UNS8 | ReadEEProm (void) |
| used with handshake through the OD at 0x2020 to allow remote reading of values in the emulated eeprom memory | |
| UNS8 | WriteEEProm (void) |
| used with handshake through the OD at 0x2020 to allow remote writing of a single value in the emulated eeprom memory | |
| void | start_callback (CO_Data *d, UNS32 id) |
| Callback that runs at the beginning of timer execution. | |
| int | main (void) |
| The application entry point. | |
| void | Error_Handler (void) |
| This function is executed in case of error occurrence. | |
Variables | |
| ADC_HandleTypeDef | hadc1 |
| DMA_HandleTypeDef | hdma_adc1 |
| CAN_HandleTypeDef | hcan1 |
| I2C_HandleTypeDef | hi2c2 |
| TIM_HandleTypeDef | htim2 |
| CAN_FilterTypeDef | sFilterConfig |
| CAN_RxHeaderTypeDef | RxHeader |
| CAN_TxHeaderTypeDef | TxHeader |
| CAN_TxHeaderTypeDef | TxHeaderSDO |
| CAN_TxHeaderTypeDef | TxHeaderPDO |
| CAN_TxHeaderTypeDef | TxHeaderScan |
| uint8_t | RxData [8] |
| uint8_t | TxData [8] |
| uint8_t | TxDataSDO [8] |
| uint8_t | TxDataPDO [8] |
| uint8_t | TxDataScan [8] |
| uint32_t | TxMailbox |
| UNS16 | blink = 0 |
| UNS8 | lastRequestedAddress = 0 |
: Main program body
Copyright (c) 2024 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file main.c.
| void Error_Handler | ( | void | ) |
This function is executed in case of error occurrence.
| None |
Definition at line 673 of file main.c.
Referenced by HAL_ADC_MspInit(), HAL_I2C_MspInit(), and SystemClock_Config().

| void initNodeIDSerialNumber | ( | void | ) |
| int main | ( | void | ) |
| UNS8 ReadEEProm | ( | void | ) |
used with handshake through the OD at 0x2020 to allow remote reading of values in the emulated eeprom memory
Definition at line 617 of file main.c.
Referenced by ReadMemory().


| UNS8 ReadLocalFlashMemory | ( | void | ) |
Read flash memory in CPU.
| none |
Definition at line 587 of file main.c.
Referenced by ReadMemory().


| void ReadMemory | ( | void | ) |
| void SystemClock_Config | ( | void | ) |
System Clock Configuration.
| None |
Configure the main internal regulator output voltage
Initializes the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef structure.
Initializes the CPU, AHB and APB buses clocks
Definition at line 217 of file main.c.
Referenced by main().


| UNS8 WriteEEProm | ( | void | ) |
used with handshake through the OD at 0x2020 to allow remote writing of a single value in the emulated eeprom memory
Definition at line 648 of file main.c.
Referenced by ReadMemory().

