Configurable mapping of timer channels to protection groups
AssigneeRenesas Electronics America Inc.
InventorJon Matthew Brabender
Life of this patent
Estimating the term…
Abstract
An apparatus and method for mapping timer channels to protection groups. One embodiment of the method can be implemented in a microcontroller unit (MCU) that comprises a central processing unit (CPU) coupled to a plurality of timer channels and a plurality of programmable group output disable (PTGOD) circuits. The CPU can select a first group of the timer channels to respond to an assertion of a first output disable signal from a first of the PTGOD circuits. Each timer channel of the first group can disable an output signal in response to receiving the assertion of the first output disable signal.
Claims20
A method implemented in a microcontroller unit (MCU) that comprises a central processing unit (CPU) coupled to a plurality of timer channels having respective control registers and a plurality of disable circuits, the method comprising:
- configuring, by the CPU, a first group of the plurality of timer channels by writing first timer control values to the respective control registers of the timer channels of the first group;
- asserting, by a first of the disable circuits, a first output disable signal to the first group;
- and
- using, by each timer channel of the first group, the first timer control value that has been programmed into its respective control register by the CPU to determine whether to output or prevent output of a respective output signal.
A system comprising:
- a microcontroller (MCU), wherein the MCU comprises:
- a central processing unit (CPU);
- a plurality of timer channels, each timer channel including a respective control register;
- and
- a plurality of disable circuits, wherein the CPU configures a first group of the timer channels by writing first timer control values to the respective control registers of the timer channels of the first group, and
- wherein a first of the disable circuits is configured to assert a first output disable signal to the first group, and
- wherein each timer channel of the first group is configured to use the first timer control value that has been programmed into its respective control register by the CPU to determine whether to output or prevent output of a respective output signal.
A microcontroller comprising:
- a plurality of timer channels, each timer channel including a respective control register;
- a plurality of disable circuits;
- and
- a memory comprising an embedded program, the embedded program, when executed by a CPU of the microcontroller, causes the microcontroller to perform a method comprising:
- configuring a first group of the timer channels by writing first timer control values to the respective control registers of the timer channels of the first group,
- wherein a first of the disable circuits is configured to assert a first output disable signal to the first group, and
- wherein each timer channel of the first group is configured to use the first timer control value that has been programmed into its respective control register by the CPU to determine whether to output or prevent output of a respective output signal.
Dependencies are inferred from the claim text.