Expand description
timer0
Modules§
- counter
- A CSR register. Parameters ––––– fields : :class:
dictor :class:listor :class:FieldCollection of register fields. IfNone(default), a dict is populated from Python :term:variable annotations <python:variable annotations>.fieldsis used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:ElementInterface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionCollection of field instances. f : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionShorthand for :attr:Register.field. Raises —— :exc:TypeErrorIffieldsis neitherNone, a :class:dict, a :class:list, or a :class:Field. :exc:ValueErrorIffieldsis notNoneand at least one variable annotation is a :class:Field. :exc:ValueErrorIfelement.accessis not readable and at least one field is readable. :exc:ValueErrorIfelement.accessis not writable and at least one field is writable. - enable
- Counter enable
- ev_
enable - A CSR register. Parameters ––––– fields : :class:
dictor :class:listor :class:FieldCollection of register fields. IfNone(default), a dict is populated from Python :term:variable annotations <python:variable annotations>.fieldsis used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:ElementInterface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionCollection of field instances. f : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionShorthand for :attr:Register.field. Raises —— :exc:TypeErrorIffieldsis neitherNone, a :class:dict, a :class:list, or a :class:Field. :exc:ValueErrorIffieldsis notNoneand at least one variable annotation is a :class:Field. :exc:ValueErrorIfelement.accessis not readable and at least one field is readable. :exc:ValueErrorIfelement.accessis not writable and at least one field is writable. - ev_
pending - A CSR register. Parameters ––––– fields : :class:
dictor :class:listor :class:FieldCollection of register fields. IfNone(default), a dict is populated from Python :term:variable annotations <python:variable annotations>.fieldsis used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:ElementInterface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionCollection of field instances. f : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionShorthand for :attr:Register.field. Raises —— :exc:TypeErrorIffieldsis neitherNone, a :class:dict, a :class:list, or a :class:Field. :exc:ValueErrorIffieldsis notNoneand at least one variable annotation is a :class:Field. :exc:ValueErrorIfelement.accessis not readable and at least one field is readable. :exc:ValueErrorIfelement.accessis not writable and at least one field is writable. - mode
- Timer mode. When
periodicis set to 1 the counter will automatically be reset to the reload value. - reload
- Reload value of counter.
Structs§
- Register
Block - Register block
Type Aliases§
- COUNTER
- counter (rw) register accessor: A CSR register. Parameters ––––– fields : :class:
dictor :class:listor :class:FieldCollection of register fields. IfNone(default), a dict is populated from Python :term:variable annotations <python:variable annotations>.fieldsis used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:ElementInterface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionCollection of field instances. f : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionShorthand for :attr:Register.field. Raises —— :exc:TypeErrorIffieldsis neitherNone, a :class:dict, a :class:list, or a :class:Field. :exc:ValueErrorIffieldsis notNoneand at least one variable annotation is a :class:Field. :exc:ValueErrorIfelement.accessis not readable and at least one field is readable. :exc:ValueErrorIfelement.accessis not writable and at least one field is writable. - ENABLE
- enable (rw) register accessor: Counter enable
- EV_
ENABLE - ev_enable (rw) register accessor: A CSR register. Parameters ––––– fields : :class:
dictor :class:listor :class:FieldCollection of register fields. IfNone(default), a dict is populated from Python :term:variable annotations <python:variable annotations>.fieldsis used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:ElementInterface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionCollection of field instances. f : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionShorthand for :attr:Register.field. Raises —— :exc:TypeErrorIffieldsis neitherNone, a :class:dict, a :class:list, or a :class:Field. :exc:ValueErrorIffieldsis notNoneand at least one variable annotation is a :class:Field. :exc:ValueErrorIfelement.accessis not readable and at least one field is readable. :exc:ValueErrorIfelement.accessis not writable and at least one field is writable. - EV_
PENDING - ev_pending (rw) register accessor: A CSR register. Parameters ––––– fields : :class:
dictor :class:listor :class:FieldCollection of register fields. IfNone(default), a dict is populated from Python :term:variable annotations <python:variable annotations>.fieldsis used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:ElementInterface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionCollection of field instances. f : :class:FieldActionMapor :class:FieldActionArrayor :class:FieldActionShorthand for :attr:Register.field. Raises —— :exc:TypeErrorIffieldsis neitherNone, a :class:dict, a :class:list, or a :class:Field. :exc:ValueErrorIffieldsis notNoneand at least one variable annotation is a :class:Field. :exc:ValueErrorIfelement.accessis not readable and at least one field is readable. :exc:ValueErrorIfelement.accessis not writable and at least one field is writable. - MODE
- mode (rw) register accessor: Timer mode. When
periodicis set to 1 the counter will automatically be reset to the reload value. - RELOAD
- reload (rw) register accessor: Reload value of counter.