H
H
hilden2015-03-25 21:45:52
C++ / C#
hilden, 2015-03-25 21:45:52

How to write HAL driver for MK?

Good evening.
Can anyone advise some articles or a small guide on writing HAL drivers for MK.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
hilden, 2015-03-26
@hilden

I want to make my header .h file with the .c implementation file for working with 18B20 temperature sensors and for a 7-segment indicator, now you can download everything ready, of course, but I would like to write it all myself.

V
Vitaly Pukhov, 2015-03-26
@Neuroware

because the question is too vague, I interpret it something like this: "how to write a driver for a self-made device", here what needs to be clarified:
1. What kind of device is it, what does it do and what for is the driver
2. How do you connect it and to what, can you plug it into the microphone input then it will not need a driver
3. For which OS the driver is
4. What do you mean by HAL, HAL is the "name" for one of the layers that needs to be implemented in the driver

I
iv_k, 2015-03-27
@iv_k

take a look at the mbed.org project , HAL
is beautifully described there, I advise you to tear off ideas from them. or even take their system and not reinvent the wheel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question