| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | nrf: sequencepwm rename top to max_duty for consistancy | Jacob Rosenthal | 2021-11-11 | 1 | -1/+1 | |
| | | ||||||
| * | fix | Jacob Rosenthal | 2021-11-11 | 1 | -2/+2 | |
| | | ||||||
| * | fix | Jacob Rosenthal | 2021-11-11 | 1 | -2/+8 | |
| | | ||||||
| * | pwm_sequence consume buffer | Jacob Rosenthal | 2021-11-11 | 1 | -7/+1 | |
| | | ||||||
| * | Merge #455 | bors[bot] | 2021-11-11 | 4 | -2/+213 | |
| |\ | | | | | | | | | | | | | | | | | | | 455: simple_playback api from nrf sdk r=Dirbaio a=jacobrosenthal Port of the nrf_drv_pwm_simple_playback call from the nordic sdk that allows you to set up a sequence to play across leds with no interaction necessary using the 'shorts' registers to trigger looping sequences Co-authored-by: Jacob Rosenthal <[email protected]> | |||||
| | * | remove unstable feature and dependency, and make pwm_sequence a near mirror ↵ | Jacob Rosenthal | 2021-11-10 | 3 | -59/+87 | |
| | | | | | | | | | of pwm example | |||||
| | * | fix examples for mut self set_duty | Jacob Rosenthal | 2021-11-10 | 3 | -3/+3 | |
| | | | ||||||
| | * | make SequenceConfig struct is consistent with other Config structs, that are ↵ | Jacob Rosenthal | 2021-11-03 | 2 | -26/+23 | |
| | | | | | | | | | always non_exhaustive and have a Default | |||||
| | * | rename to SimplePwm and SequencePwm | Jacob Rosenthal | 2021-11-03 | 5 | -11/+12 | |
| | | | ||||||
| | * | restore example and add set_time_stretch api | Jacob Rosenthal | 2021-11-03 | 2 | -29/+132 | |
| | | | ||||||
| | * | rename error enum again | Jacob Rosenthal | 2021-11-02 | 2 | -2/+2 | |
| | | | ||||||
| | * | seperate start from pwmseq::new | Jacob Rosenthal | 2021-11-01 | 2 | -3/+3 | |
| | | | ||||||
| | * | seperate sequence from duty cycle pwm struct | Jacob Rosenthal | 2021-11-01 | 2 | -7/+11 | |
| | | | ||||||
| | * | led dimming example, dont need to keep all examples, just covering ground to ↵ | Jacob Rosenthal | 2021-11-01 | 1 | -0/+47 | |
| | | | | | | | | | test api | |||||
| | * | generalize new and change pwm example to a servo | Jacob Rosenthal | 2021-11-01 | 1 | -82/+29 | |
| | | | ||||||
| | * | better not as a constructor? | Jacob Rosenthal | 2021-11-01 | 2 | -12/+10 | |
| | | | ||||||
| | * | reduce complexity of loopmode | Jacob Rosenthal | 2021-11-01 | 2 | -3/+3 | |
| | | | ||||||
| | * | documentation | Jacob Rosenthal | 2021-11-01 | 2 | -2/+2 | |
| | | | ||||||
| | * | stop->sequence_stop | Jacob Rosenthal | 2021-10-31 | 1 | -1/+1 | |
| | | | ||||||
| | * | add ability to configure loop count from 1 to infinite | Jacob Rosenthal | 2021-10-30 | 2 | -11/+14 | |
| | | | ||||||
| | * | a runtime generated sin table example | Jacob Rosenthal | 2021-10-29 | 2 | -0/+42 | |
| | | | ||||||
| | * | simplify api, more interesting example | Jacob Rosenthal | 2021-10-29 | 1 | -7/+7 | |
| | | | ||||||
| | * | simple_playback api from nrf sdk | Jacob Rosenthal | 2021-10-29 | 1 | -0/+41 | |
| | | | ||||||
| * | | Replace rustflags with build.rs extra-link-args. | Dario Nieuwenhuis | 2021-11-07 | 2 | -12/+4 | |
| |/ | | | | | | | | | | | | Rustflags apply to ALL the crates in the graph, while we only need them for the toplevel crate which is the only one getting linked. Rustflags are not equal for all crates, this caused cargo to re-build the same dependency crate multiple times uselessly. After this change, deps are reused more, making builds faster. Note that this only applies when sharing the target/ dir for multiple crates in the repo which is not the default. | |||||
| * | Fixed examples | Dion Dokter | 2021-10-26 | 2 | -4/+2 | |
| | | ||||||
| * | Another redo using the feedback. | Dion Dokter | 2021-10-26 | 3 | -18/+14 | |
| | | | | | | PPI is now split up into PPI and DPPI under the name 'interconnect'. The tasks and events are tracked and reset in the drop function. | |||||
| * | Fixed examples and added defmt format to the new error types | Dion Dokter | 2021-10-26 | 2 | -4/+4 | |
| | | ||||||
| * | - Added _ppi and _dppi to distinguish between the new and the old peripheral. | Dion Dokter | 2021-10-26 | 1 | -9/+9 | |
| | | | | | | | - Removed ConfigurableChannel and added capacity numbers to the channels - Replaced the PPI api with a new one using the DPPI terminology (publish & subscribe) - Updated all tasks and event registers for DPPI | |||||
| * | nrf: add NVMC driver. | Dario Nieuwenhuis | 2021-10-22 | 2 | -0/+45 | |
| | | ||||||
| * | Specify unit in log output | Ulf Lilleengen | 2021-10-19 | 1 | -1/+1 | |
| | | ||||||
| * | Add support for temperature sensor peripheral | Ulf Lilleengen | 2021-10-19 | 1 | -0/+26 | |
| | | | | | | | * Add TEMP peripheral to all nRF52 chips * Add async HAL for reading temperature values * Add example application reading temperature values | |||||
| * | Use types to strengthen the buffer dimensioning | huntc | 2021-10-18 | 1 | -6/+4 | |
| | | ||||||
| * | Removed the Mode enum and factored out into two functions so that we can ↵ | huntc | 2021-10-18 | 1 | -2/+2 | |
| | | | | | assert channel limits | |||||
| * | We have to reduce the buffer size to cater for the number of channels to scan | huntc | 2021-10-18 | 1 | -2/+2 | |
| | | ||||||
| * | We must allow the run handler to mutate state | huntc | 2021-10-18 | 1 | -2/+17 | |
| | | | | | The handler may well need to close over and mutate state | |||||
| * | Implements continuous sampling for the nRF SAADC | huntc | 2021-10-18 | 2 | -2/+51 | |
| | | | | | | | Implements continuous sampling for the nRF SAADC and also renames `OneShot` to `Saadc`. The one-shot behaviour is retained with the `sample` method and a new `run_sampler` method is provided for efficiently (i.e. zero copying) sampler processing. A double buffer is used for continuously sampling, which wlll be swapped once sampling has taken place. A sample frequency is provided and will set the internal timer of the SAADC when there is just the one channel being sampled. Otherwise, PPI will be used to hook up the TIMER peripheral to drive the sampling task. | |||||
| * | Extend SAADC one shot support | huntc | 2021-10-09 | 1 | -4/+6 | |
| | | | | | | | | | One-shot mode now permits the sampling of differential pins, and the sampling of multiple pins simultaneously. A new ChannelConfig structure has been introduced so that multiple channels can be configured individually. Further, the `sample` method now accepts a buffer into which samples are written. Along the way, I've reset some default configuration to align with Nordic's settings in their nrfx saadc driver. Specifically, the channel gain defaults to 6 (from 4) and the time defaults to 10us (from 20us). | |||||
| * | nrf/saadc: remove Sample trait. | Dario Nieuwenhuis | 2021-10-07 | 1 | -1/+1 | |
| | | ||||||
| * | embassy/channel: switch to use MutexKind | Dario Nieuwenhuis | 2021-09-13 | 1 | -3/+4 | |
| | | ||||||
| * | embassy: Refactor module structure to remove kitchen-sink `util`. | Dario Nieuwenhuis | 2021-09-11 | 1 | -3/+2 | |
| | | ||||||
| * | Update lots of deps | Dario Nieuwenhuis | 2021-09-11 | 1 | -4/+4 | |
| | | ||||||
| * | Remove trait_alias, allow(incomplete_features). | Dario Nieuwenhuis | 2021-09-03 | 21 | -21/+0 | |
| | | | | | trait_alias seems unused. no idea why it's there. | |||||
| * | Merge pull request #382 from fnafnio/typestate_nrf_timer | Dario Nieuwenhuis | 2021-09-02 | 1 | -0/+29 | |
| |\ | | | | | Typestate nrf timer | |||||
| | * | removed type aliases | f_punk | 2021-09-02 | 1 | -0/+29 | |
| | | | | | | | | | | | NotAwaitable as default generic param added awaitable_timer example | |||||
| * | | nrf/saadc: add example | Dario Nieuwenhuis | 2021-09-01 | 1 | -0/+25 | |
| |/ | ||||||
| * | Improve executor naming. Add docs. | Dario Nieuwenhuis | 2021-08-31 | 1 | -3/+3 | |
| | | ||||||
| * | nrf: make gpiote and time-driver optional via cargo features. | Dario Nieuwenhuis | 2021-08-20 | 1 | -1/+1 | |
| | | ||||||
| * | nrf/wdt: add handle steal | Dario Nieuwenhuis | 2021-08-20 | 1 | -1/+1 | |
| | | ||||||
| * | nrf: update to cortex-m-rt 0.7 | Dario Nieuwenhuis | 2021-08-19 | 1 | -1/+1 | |
| | | ||||||
| * | nrf: add WDT driver | Dario Nieuwenhuis | 2021-08-07 | 1 | -0/+46 | |
| | | ||||||
