RFulchiero
a0010228a4
PortOut.h: Documentation improvements only * Improve function and parameter descriptions
2018-10-19 11:46:55 +01:00
welaZat
d014fb4a55
Added missing define in drivers/SerialWireOutput.h
2018-10-19 11:46:55 +01:00
RFulchiero
f306241269
PortIn.h: Documentation improvements only * Improve function and parameter descriptions * Improve clarity of the example
2018-10-19 11:46:55 +01:00
kegilbert
5d795775da
Remove protected members from doxy in Analog/Digital classes
...
- Add example snippets to Analog/Digital read/write overrides
2018-10-19 11:46:55 +01:00
Amanda Butler
2fbb66e4d9
Copy edit Timer.h
...
Copy edit existing text for minor grammar issues.
2018-10-19 11:46:55 +01:00
Naveen Kaje
d612a1be00
Timer.h: Update comments
2018-10-19 11:46:55 +01:00
Naveen Kaje
9435179d16
Timer.h: Remove protected attributes from rendering on docs site
2018-10-19 11:46:55 +01:00
Amanda Butler
9e7b67f778
Edit InterruptIn.h
...
Make minor grammar edits.
2018-10-19 11:46:55 +01:00
Naveen Kaje
01448df55a
InterruptIn.h: Update comments
2018-10-19 11:46:55 +01:00
Naveen Kaje
7126f1e2b5
InterruptIn: Remove protected attributes from rendering on docs site
2018-10-19 11:46:55 +01:00
Amanda Butler
7200bb8918
Edit Ticker.h
...
Make minor copy edits to existing text.
2018-10-19 11:46:55 +01:00
Aashish chaddha
5f68d26950
improve ticker doc
2018-10-19 11:46:55 +01:00
deepikabhavnani
14d247c4c9
Correct the param descritions of QSPI
2018-10-19 11:46:55 +01:00
deepikabhavnani
88977dc245
QSPI: Remove protected member functions from rendering on docs site, but keep them in the code.
2018-10-19 11:46:55 +01:00
Kevin Gilbert
691061dc41
Fix minor typo
2018-10-19 11:46:55 +01:00
Aashish chaddha
c03f3e567c
fixed a mistake where I was adding "can not supprted" error at wrong place
2018-10-19 11:46:55 +01:00
Aashish chaddha
5c2ae7bca0
fix critical bug where I was hiding a lot more class members than i should. Add "CAN_NOT_SUPPORTED" guard to header instead of example
2018-10-19 11:46:55 +01:00
Aashish chaddha
36198f11de
improve can documentation
2018-10-19 11:46:55 +01:00
Thomas Kemmer
90253ef7f5
Use high resolution time for Timer::read().
2018-10-19 11:46:55 +01:00
deepikabhavnani
040f4fe664
Cleanup SPI constructor and add destructor
...
_acquire() is not required in constructor, since we are not performing
any operation on SPI bus yet. Just initialize the pins/hw
Destructor is required to clear _owner else SPI format/frequency will not be
set if object is recreated. We do not free SPI bus, but init again in hardware
may or may not change frequency/format.
```
{
SPI spi1(...);
spi1.transfer(...);
}
{
SPI spi1(...);
spi1.transfer(...);
}
```
2018-10-08 15:18:50 +01:00
Thomas Kemmer
3db611cdef
Clean up include paths.
2018-10-08 15:18:50 +01:00
Maciej Bocianski
9bb0344712
fix example code in QSPI.h
2018-09-11 15:04:48 +01:00
Maciej Bocianski
ee03d83527
QSPI driver: API parameters fix
2018-09-11 15:04:48 +01:00
Christopher Haster
b7b94b31de
CRC: Removed assertion on NULL buffer
...
When length is zero, the buffer is not accessed. The CRC functions are used
inside several other layers where a 0-length buffer may have meanings in
different contexts and being able to pass 0-length NULL buffers to CRC as a
noop simplifies the code.
2018-09-11 15:04:48 +01:00
Deepika
8d31fc144e
Use MbedCRC for LittleFS (0xEDB88320)
...
CRC used in LittleFS is Reversed ANSI, hence new polynomial added.
Reversed polynomials perform shift in reverse direction of standard
polynomial, and we do not have option to notify reverse shift to hardware.
Hence this option is available in software only.
2018-09-11 15:04:48 +01:00
Cruz Monrreal
1e3e69463f
Merge pull request #7781 from deepikabhavnani/crc_safety
...
Add thread safety to CRC class
2018-08-29 15:42:23 -05:00
Cruz Monrreal
3f5cd54948
Merge pull request #7891 from tkem/fix/remove-unnnecessary-includes
...
Remove unused cmsis includes.
2018-08-28 09:09:15 -05:00
Cruz Monrreal
e2409bfdfe
Merge pull request #7848 from aashishc1988/CanMessengerBug
...
Message ID in CAN constructor needs to be unsigned
2018-08-27 10:29:15 -05:00
Thomas Kemmer
59ce33f7e8
Remove unused cmsis includes.
2018-08-25 23:57:16 +02:00
Maciej Bocianski
883ea2f1d1
astyle fixes on QSPI API/driver/tests
2018-08-22 15:02:15 +02:00
Maciej Bocianski
ad49388888
QSPI driver: fixes after PR 7783 review
...
- make QSPI::lock and QSPI::unlock protected
- fix QSPI::_initialize return value
- add assert on QSPI::_initialize failure
- minor comments fixes
2018-08-22 15:02:14 +02:00
adustm
0714ac350f
Revert "Dummy cycles count is not an init parameter, but a command parameter."
...
This reverts commit f1ad089660
.
2018-08-22 15:00:21 +02:00
adustm
2b234c2902
Move _mode from QSPI::configure_format to QSPI::QSPI
...
QSPI::configure_format shall not call initialize function.
This way, QSPI::configure_format can be called any time,
only to change the format of commands.
It must contain only parameters for the commands, not for the Init function
2018-08-22 15:00:20 +02:00
adustm
8d2f426d97
Dummy cycles count is not an init parameter, but a command parameter.
...
It can change depending on the chosen command, not only at start.
This way we avoid to launch init function and break the internal status variables.
2018-08-22 15:00:19 +02:00
Martin Kojtal
d54bac2207
QSPI: add address to command transfer
2018-08-22 15:00:18 +02:00
Martin Kojtal
41453169a0
QSPI: fix memset header file missing
2018-08-22 15:00:17 +02:00
Martin Kojtal
784c473f63
QSPI HAL: add disabled flag to format phase
...
If phase is being skipped, set disabled to true, otherwise false.
2018-08-22 15:00:08 +02:00
Martin Kojtal
b71f2a15ea
QSPI: fix alt size NONE instead 0
2018-08-22 15:00:07 +02:00
Martin Kojtal
910f1a8884
QSPI: fix driver style issues
2018-08-22 15:00:07 +02:00
Martin Kojtal
3db3364821
QSPI: fix arguments for write/read when alt is defined
...
Should be: instr, alt, address or inst, addr or just addr
2018-08-22 15:00:06 +02:00
Martin Kojtal
1557ce37f1
QSPI: remove spaces on empty lines
2018-08-22 15:00:05 +02:00
Martin Kojtal
0612ab2292
QSPI: remove initialize method
...
Not used anymore, not defined. ctor default initializes the object
2018-08-22 15:00:05 +02:00
Martin Kojtal
6274cd4597
QSPI: fix address size for build qspi command
...
if address is skipped, used size NONE
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
894f8bdf9f
Review fixes
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
273cf05d92
Minor optimizations and code style fixes
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
04ec07c017
Fix bracket placements
2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan
d9036865d8
Remove explicit initialize API and coding style fixes
2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan
0f7cc36f69
Changing config and return definitions to adhere to HAL defs
2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan
9deecacc9b
Fix code style issues
2018-08-22 15:00:01 +02:00
Senthil Ramakrishnan
16d121c5d2
Review fixes and doxygen changes
2018-08-22 15:00:00 +02:00