The UART driver should fulfill the basic functions of such a driver, these are: putting data interrupt based into an output buffer of the microcontroller and reading data back from an input buffer without losing any data.
Below you can see a snippet of an example uart-driver for an STM32 Nucleo board, to find example implementations for other boards, check out our examples repository.
In order to be able to run se-scope, you have to create an instance of the ScopeFramedStack. The parameters of the constructor are structs, which define constants like the number of channels. For more information, see the code snippet below.
The ScopeFramedStack_run method should be called in the main loop of your program.
If you are using a RTOS, the ScopeFramedStack_runThreadScope method should be called in one of the threads. Se-scope-target is designed to be used with a RTOS and provides a lot of features for thread-safety like built-in mutexes. Take a look at our examples repository to see implementations of se-scope-target running in a RTOS.
se-scope-target defines a transceiver from which you can get the processed data to send and to which you can forward the data that is received from the gui application. To use the transceiver you have to instantiate it in your UART driver (Step 2) by getting it from the scope stack as it is shown in the example code below.
Once the transceiver is correctly set up, you can simply use its get-method to copy data from the scope-stack into the output buffer of your UART driver resp. the put-method to copy data from the input-buffer into the scope-stack.
After you have configured the scope-stack (step 3), you can announce variables to the stack. To do this you get an AnnounceStorage object from the scope-stack to which you add the variables as well as their name and data-type.
Note that you can announce as many variables as you want, but you only have a limited amount of channels to stream the variables, so se-scope-gui can only display as many variables as the amount of channels at the same time.
In order to run the se-scope-target (step 3) you have already created a logger instance, defined the message-priorities and passed both to the scope stack. With the write-method of this logger instance, you can easily transmit log-messages to se-scope-gui (see example).
The responsible body in terms of the data protection laws, in particular the EU data protection basic regulation (DSGVO), is:
Source Engineers
Jakob Wanner
Mittelstrasse 10
3012 Bern
Telephone: 0767456944
E-Mail: jakob.wanner@sourceengineers.com
Website: https://www. sourceengineers.com/
Based on Article 13 of the Swiss Federal Constitution and the federal data protection regulations (Data Protection Act, DSG), every person is entitled to protection of his or her privacy and protection against misuse of his or her personal data. The operators of these pages take the protection of your personal data very seriously. We treat your personal data confidentially and according to the legal data protection regulations as well as this privacy policy.
In cooperation with our hosting providers, we strive to protect the databases as well as possible against unauthorized access, loss, misuse or forgery.
We would like to point out that data transmission over the Internet (e.g. communication by e-mail) can have security gaps. A complete protection of data against access by third parties is not possible.
By using this website, you agree to the collection, processing and use of data in accordance with the following description In principle, this website can be visited without registration. Data such as pages called up or the name of the file called up, date and time are stored on the server for statistical purposes without these data being directly related to your person. Personal data, in particular name, address or e-mail address are collected on a voluntary basis as far as possible. Without your consent, the data will not be passed on to third parties.
This website uses cookies. These are small text files that make it possible to store specific information relating to the user on the user's terminal device while he or she is using the website. Cookies make it possible, in particular, to determine the frequency of use and the number of users of the pages, to analyse the behaviour of page use, but also to make our offer more customer-friendly. Cookies remain stored at the end of a browser session and can be called up again when the user visits the site again. If you do not wish this to happen, you should set your Internet browser to refuse to accept cookies.
A general objection to the use of cookies used for online marketing purposes can be raised for a large number of services, particularly in the case of tracking, via the US site http://www.aboutads.info/choices/ or the EU site http://www.youronlinechoices.com/. Furthermore, the storage of cookies can be achieved by switching them off in the browser settings. Please note that in this case not all functions of this online offer can be used.
If you send us enquiries via contact form, your details from the enquiry form, including the contact details provided by you there, will be stored by us for the purpose of processing the enquiry and in the event of follow-up questions. We will not pass on this data without your consent.
This website uses Google Analytics, a web analysis service of Google Ireland Limited. If the person responsible for data processing on this website is located outside the European Economic Area or Switzerland, Google Analytics data processing is carried out by Google LLC. Google LLC and Google Ireland Limited are hereinafter referred to as «Google».
With the statistics obtained, we can improve our offer and make it more interesting for you as a user. This website also uses Google Analytics for a cross-device analysis of visitor flows, which is carried out via a user ID. If you have a Google user account, you can deactivate the cross-device analysis of your use in the settings under «My data», «personal data» in the settings there.
The legal basis for the use of Google Analytics is Art. 6 para. 1 p. 1 lit. f DS-GVO. The IP address transmitted by your browser within the framework of Google Analytics is not merged with other data from Google. We would like to point out that on this website Google Analytics has been extended by the code «_anonymizeIp();» in order to guarantee an anonymized collection of IP addresses. This means that IP addresses are further processed in a shortened form, thus excluding the possibility of personal references. If the data collected about you contains a personal reference, this is immediately excluded and the personal data is immediately deleted.
Only in exceptional cases is the full IP address transferred to a Google server in the USA and shortened there. On behalf of the operator of this website, Google will use this information for the purpose of evaluating your use of the website, compiling reports on website activity and providing other services relating to website activity and internet usage. For the exceptional cases in which personal data is transferred to the USA, Google has subjected itself to the EU-US Privacy Shield, https://www.privacyshield.gov/EU-US-Framework.
Google Analytics uses cookies. The information generated by the cookie about your use of this website is usually transferred to a Google server in the USA and stored there. You may refuse the use of cookies by selecting the appropriate settings on your browser, however please note that if you do this you may not be able to use the full functionality of this website. You can also prevent the collection of data generated by the cookie and related to your use of the website (including your IP address) to Google and the processing of this data by Google by downloading and installing the browser plugin available at the following link: Deactivate Google Analytics.
In addition, you can also prevent the use of Google Analytics by clicking on this link: Deactivate Google Analytics. This will save a so-called opt-out cookie on your data carrier, which prevents the processing of personal data by Google Analytics. Please note that if you delete all cookies on your end device, these opt-out cookies will also be deleted, i.e. you will have to set the opt-out cookies again if you want to continue to prevent this form of data collection. The opt-out cookies are set for each browser and computer/device and must therefore be activated separately for each browser, computer or other device.
We may amend this privacy policy at any time without prior notice. The current version published on our website applies. Insofar as the data protection declaration is part of an agreement with you, we will inform you by e-mail or other suitable means in the event of an update about the change.
If you have any questions about data protection, please send us an e-mail or contact the person responsible for data protection in our organisation listed at the beginning of the data protection declaration directly.
Source: SwissAnwalt