Lines Matching +full:long +full:- +full:press +full:- +full:reset
4 * SPDX-License-Identifier: Apache-2.0
48 if (!led_gpio || !led_gpio->port) { in led_callback()
101 * @brief Button press counter object dictionary handler function.
103 * This function is called upon SDO access to the button press counter
114 value = CO_getUint32(odf_arg->data); in odf_2102()
116 if (odf_arg->reading) { in odf_2102()
120 if (odf_arg->subIndex != 0U) { in odf_2102()
126 memcpy(odf_arg->data, odf_arg->ODdataStorage, sizeof(uint32_t)); in odf_2102()
130 LOG_INF("Resetting button press counter"); in odf_2102()
137 * @brief Button press interrupt callback.
196 * CANopen stack and doing the non real-time processing.
200 CO_NMT_reset_cmd_t reset = CO_RESET_NOT; in main() local
235 while (reset != CO_RESET_APP) { in main()
247 canopen_storage_attach(CO->SDO[0], CO->em); in main()
250 config_leds(CO->NMT); in main()
251 CO_OD_configure(CO->SDO[0], OD_2102_buttonPressCounter, in main()
255 canopen_program_download_attach(CO->NMT, CO->SDO[0], in main()
256 CO->em); in main()
259 CO_CANsetNormalMode(CO->CANmodule[0]); in main()
264 reset = CO_process(CO, (uint16_t)elapsed, &timeout); in main()
266 if (reset != CO_RESET_NOT) { in main()
283 * Try to sleep for as long as the in main()
298 if (reset == CO_RESET_COMM) { in main()