aboutsummaryrefslogtreecommitdiff
path: root/docs/library/pyb.DAC.rst
AgeCommit message (Collapse)Author
2020-08-21docs: Change `\*` to `*` in argument lists.Zenix27
Latest versions of Sphinx (at least 3.1.0) do not need the `*` escaped and will render the `\` in the output if it is there, so remove it. Fixes issue #6209.
2019-09-03docs/library/pyb.DAC.rst: Correct frequency for triangle mode output.Jim Mussared
Also correct comments in related code.
2018-07-18docs/library/pyb.DAC: Fix typo in markup to balance quotes.Damien George
2018-04-11stm32/dac: Add buffering argument to constructor and init() method.Damien George
This can be used to select the output buffer behaviour of the DAC. The default values are chosen to retain backwards compatibility with existing behaviour. Thanks to @peterhinch for the initial idea to add this feature.
2016-08-02docs: Spelling mistakesMike Causer
2016-06-08docs/pyb.*: Use proper class case in method headers.Paul Sokolovsky
Class designator will be used as is in indexes, so must match actual class name.
2016-06-08docs/pyb.*: Add "currentmodule:: pyb" directive.Paul Sokolovsky
Makes sure that classes described in these separate files are properly designated as belonging to "pyb" module in indexes.
2016-05-31stmhal/dac: DAC deinit() method added.Peter Hinch
2015-10-13docs: Fix formatting of DAC code examples.Damien George
2015-10-13stmhal: Allow to set bits resolution for DAC; 8 is default, can have 12.Damien George
This patch allows to configure the DAC resolution in the constructor and in the init function, eg: dac = DAC(1, bits=12). The default resolution is 8 bits for backwards compatibility. The bits sets the maximum value accepted by write and write_timed methods, being 2**bits - 1. When using write_timed with 12-bit resolution, the input buffer is treated as an unsigned half-word array, typecode 'H'. See PR #1130 for discussion.
2015-07-21stmhal: Allow DAC.write_timed to take Timer object in place of freq.Damien George
This allows the DAC to use a user-specified Timer for the triggering (instead of the default Timer(6)), while still supporting original behaviour. Addresses issues #1129 and #1388.
2015-01-20docs: Fix frequency info for DAC.triangle.Damien George
2014-11-04docs: Add links from quickref to pyb classes.Damien George
2014-10-31docs: Cleanup and update some docs.Damien George
2014-10-31docs: Import documentation from source-code inline comments.Damien George
The inline docs (prefixed with /// in .c files) have been converted to RST format and put in the docs subdirectory.