The POE3 module can be used to configure events to disable MTU3 output pins.
This module can be added to the Stacks tab via New Stack > Timers > Port Output Enable 3 for MTU3 (r_poe3).
Configuration | Options | Default | Description |
General > Name | Name must be a valid C symbol | g_poe30 | Module name. |
Input > POE0# > Mode Select(Trigger) |
-
Falling edge
-
Sampling 16 times with PCLK / 8 clock All low level.
-
Sampling 16 times with PCLK / 16 clock All low level.
-
Sampling 16 times with PCLK / 128 clock All low level.
| Falling edge | Select the trigger that POE0# sets to high impedance. |
Input > POE0# > Interrupts |
| Disabled | Generates an interrupt when the POE0# matches the mode conditions. |
Input > POE4# > Mode Select(Trigger) |
-
Falling edge
-
Sampling 16 times with PCLK / 8 clock All low level.
-
Sampling 16 times with PCLK / 16 clock All low level.
-
Sampling 16 times with PCLK / 128 clock All low level.
| Falling edge | Select the trigger that POE4# sets to high impedance. |
Input > POE4# > Interrupts |
| Disabled | Generates an interrupt when the POE4# matches the mode conditions. |
Input > POE8# > Mode Select(Trigger) |
-
Falling edge
-
Sampling 16 times with PCLK / 8 clock All low level.
-
Sampling 16 times with PCLK / 16 clock All low level.
-
Sampling 16 times with PCLK / 128 clock All low level.
| Falling edge | Select the trigger that POE8# sets to high impedance. |
Input > POE8# > Interrupts |
| Disabled | Generates an interrupt when the POE8# matches the mode conditions. |
Input > POE8# > High-Impedance Enable |
| Disabled | Set the high impedance if POE8# is triggered. |
Input > POE10# > Mode Select(Trigger) |
-
Falling edge
-
Sampling 16 times with PCLK / 8 clock All low level.
-
Sampling 16 times with PCLK / 16 clock All low level.
-
Sampling 16 times with PCLK / 128 clock All low level.
| Falling edge | Select the trigger that POE10# sets to high impedance. |
Input > POE10# > Interrupts |
| Disabled | Generates an interrupt when the POE10# matches the mode conditions. |
Input > POE10# > High-Impedance Enable |
| Disabled | Set the high impedance if POE10# is triggered. |
Input > POE11# > Mode Select(Trigger) |
-
Falling edge
-
Sampling 16 times with PCLK / 8 clock All low level.
-
Sampling 16 times with PCLK / 16 clock All low level.
-
Sampling 16 times with PCLK / 128 clock All low level.
| Falling edge | Select the trigger that POE11# sets to high impedance. |
Input > POE11# > Interrupts |
| Disabled | Generates an interrupt when the POE11# matches the mode conditions. |
Input > POE11# > High-Impedance Enable |
| Disabled | Set the high impedance if POE11# is triggered. |
Output > DSMIF Error Interrupt > Unit 0 > DSMIF0 Error 0 Interrupt Enable |
| Disabled | Setting high impedance on DSMIF0 error0. |
Output > DSMIF Error Interrupt > Unit 0 > DSMIF0 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF0 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 1 > DSMIF1 Error 0 Interrupt Enable |
| Disabled | Setting high impedance on DSMIF1 error0. |
Output > DSMIF Error Interrupt > Unit 1 > DSMIF1 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF1 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 2 > DSMIF2 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF2 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 2 > DSMIF2 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF2 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 3 > DSMIF3 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF3 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 3 > DSMIF3 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF3 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 4 > DSMIF4 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF4 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 4 > DSMIF4 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF4 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 5 > DSMIF5 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF5 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 5 > DSMIF5 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF5 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 6 > DSMIF6 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF6 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 6 > DSMIF6 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF6 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 7 > DSMIF7 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF7 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 7 > DSMIF7 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF7 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 8 > DSMIF8 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF8 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 8 > DSMIF8 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF8 error1. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 9 > DSMIF9 Error 0 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF9 error0. Unsupported devices show disabled. |
Output > DSMIF Error Interrupt > Unit 9 > DSMIF9 Error 1 Interrupt Enable | MCU Specific Options | | Setting high impedance on DSMIF9 error1. Unsupported devices show disabled. |
Output > Output Short Circuit MTU3/4 > Interrupt Enable |
| Disabled | Generates an interrupt when the output of MTU3 or MTU4 is short-circuited. |
Output > Output Short Circuit MTU3/4 > High-Impedance Enable |
| Disabled | Setting high impedance when the output of MTU3 or MTU4 is short-circuited. |
Output > Output Short Circuit MTU6/7 > Interrupt Enable |
| Disabled | Generates an interrupt when the output of MTU6 or MTU7 is short-circuited. |
Output > Output Short Circuit MTU6/7 > High-Impedance Enable |
| Disabled | Setting high impedance when the output of MTU6 or MTU7 is short-circuited. |
Output > Oscillation Stop High-Impedance Enable |
| Disabled | Setting high impedance when the oscillator is stopped. |
MTU0 Pin Control > MTU0-A (MTIOC0A) > Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC0A. |
MTU0 Pin Control > MTU0-A (MTIOC0A) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC0A matches the mode conditions. |
MTU0 Pin Control > MTU0-B (MTIOC0B) > Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC0B. |
MTU0 Pin Control > MTU0-B (MTIOC0B) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC0B matches the mode conditions. |
MTU0 Pin Control > MTU0-C (MTIOC0C) > Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC0C. |
MTU0 Pin Control > MTU0-C (MTIOC0C) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC0C matches the mode conditions. |
MTU0 Pin Control > MTU0-D (MTIOC0D) > Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC0D. |
MTU0 Pin Control > MTU0-D (MTIOC0D) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC0D matches the mode conditions. |
MTU0 Pin Control > Additional MTU0 pin control request condition (Always enable POE8# Input) | MCU Specific Options | | Select the additional pin control request for MTU0 (Always enable POE8# Input). |
MTU0 Pin Control > Additional MTU0 pin control DSMIF Error 0 request condition | MCU Specific Options | | Select the additional DSMIF error 0 request for MTU0. |
MTU0 Pin Control > Additional MTU0 pin control DSMIF Error 1 request condition | MCU Specific Options | | Select the additional DSMIF error 1 request for MTU0. |
MTU3 and MTU4 Pin Control > MTU3-B (MTIOC3B) and MTU3-D (MTIOC3D) > MTIOC3B Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC3B. |
MTU3 and MTU4 Pin Control > MTU3-B (MTIOC3B) and MTU3-D (MTIOC3D) > MTIOC3D Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC3D. |
MTU3 and MTU4 Pin Control > MTU3-B (MTIOC3B) and MTU3-D (MTIOC3D) > MTIOC3B Active Level |
| Active High | Set the active level of the MTIOC3B output. |
MTU3 and MTU4 Pin Control > MTU3-B (MTIOC3B) and MTU3-D (MTIOC3D) > MTIOC3D Active Level |
| Active High | Set the active level of the MTIOC3D output. |
MTU3 and MTU4 Pin Control > MTU3-B (MTIOC3B) and MTU3-D (MTIOC3D) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC3B or MTIOC3D matches the mode conditions. |
MTU3 and MTU4 Pin Control > MTU4-B (MTIOC4B) and MTU4-D (MTIOC4D) > MTIOC4B Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC4B. |
MTU3 and MTU4 Pin Control > MTU4-B (MTIOC4B) and MTU4-D (MTIOC4D) > MTIOC4D Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC4D. |
MTU3 and MTU4 Pin Control > MTU4-B (MTIOC4B) and MTU4-D (MTIOC4D) > MTIOC4B Active Level |
| Active High | Set the active level of the MTIOC4B output. |
MTU3 and MTU4 Pin Control > MTU4-B (MTIOC4B) and MTU4-D (MTIOC4D) > MTIOC4D Active Level |
| Active High | Set the active level of the MTIOC4D output. |
MTU3 and MTU4 Pin Control > MTU4-B (MTIOC4B) and MTU4-D (MTIOC4D) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC4B or MTIOC4D matches the mode conditions. |
MTU3 and MTU4 Pin Control > MTU4-A (MTIOC4A) and MTU4-C (MTIOC4C) > MTIOC4A Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC4A. |
MTU3 and MTU4 Pin Control > MTU4-A (MTIOC4A) and MTU4-C (MTIOC4C) > MTIOC4C Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC4C. |
MTU3 and MTU4 Pin Control > MTU4-A (MTIOC4A) and MTU4-C (MTIOC4C) > MTIOC4A Active Level |
| Active High | Set the active level of the MTIOC4A output. |
MTU3 and MTU4 Pin Control > MTU4-A (MTIOC4A) and MTU4-C (MTIOC4C) > MTIOC4C Active Level |
| Active High | Set the active level of the MTIOC4C output. |
MTU3 and MTU4 Pin Control > MTU4-A (MTIOC4A) and MTU4-C (MTIOC4C) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC4A or MTIOC4C matches the mode conditions. |
MTU3 and MTU4 Pin Control > Additional MTU3/4 pin control request condition (Always enable POE0# Input) | MCU Specific Options | | Select the additional pin control request for MTU3/4 (Always enable POE0# Input). |
MTU3 and MTU4 Pin Control > Additional MTU3/4 pin control DSMIF Error 0 request condition | MCU Specific Options | | Select the additional DSMIF error 0 request for MTU3/4. |
MTU3 and MTU4 Pin Control > Additional MTU3/4 pin control DSMIF Error 1 request condition | MCU Specific Options | | Select the additional DSMIF error 1 request for MTU3/4. |
MTU6 and MTU7 Pin Control > MTU6-B (MTIOC6B) and MTU6-D (MTIOC6D) > MTIOC6B Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC6B. |
MTU6 and MTU7 Pin Control > MTU6-B (MTIOC6B) and MTU6-D (MTIOC6D) > MTIOC6D Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC6D. |
MTU6 and MTU7 Pin Control > MTU6-B (MTIOC6B) and MTU6-D (MTIOC6D) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC6B or MTIOC6D matches the mode conditions. |
MTU6 and MTU7 Pin Control > MTU7-B (MTIOC7B) and MTU7-D (MTIOC7D) > MTIOC7B Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC7B. |
MTU6 and MTU7 Pin Control > MTU7-B (MTIOC7B) and MTU7-D (MTIOC7D) > MTIOC7D Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC7D. |
MTU6 and MTU7 Pin Control > MTU7-B (MTIOC7B) and MTU7-D (MTIOC7D) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC7B or MTIOC7D matches the mode conditions. |
MTU6 and MTU7 Pin Control > MTU7-A (MTIOC7A) and MTU7-C (MTIOC7C) > MTIOC7A Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC7A. |
MTU6 and MTU7 Pin Control > MTU7-A (MTIOC7A) and MTU7-C (MTIOC7C) > MTIOC7C Pin Select | MCU Specific Options | | Select the pin you want to use as MTIOC7C. |
MTU6 and MTU7 Pin Control > MTU7-A (MTIOC7A) and MTU7-C (MTIOC7C) > High-Impedance Enable |
| Disabled | Set the high impedance if the MTIOC7A or MTIOC7C matches the mode conditions. |
MTU6 and MTU7 Pin Control > Additional MTU6/7 pin control request condition (Always enable POE4# Input) | MCU Specific Options | | Select the additional pin control request for MTU6/7 (Always enable POE4# Input). |
MTU6 and MTU7 Pin Control > Additional MTU6/7 pin control DSMIF Error 0 request condition | MCU Specific Options | | Select the additional DSMIF error 0 request for MTU6/7. |
MTU6 and MTU7 Pin Control > Additional MTU6/7 pin control DSMIF Error 1 request condition | MCU Specific Options | | Select the additional DSMIF error 1 request for MTU6/7. |
Interrupts > Callback | Name must be a valid C symbol | NULL | A user callback function can be provided. If this callback function is provided, it will be called from the interrupt service routine (ISR). |
Interrupts > POE0# Input, Output Short Circuit MTU3/4 Interrupt Priority | MCU Specific Options | | Set the POE0# Input, Output Short Circuit MTU3/4 Input interrupt priority. |
Interrupts > POE4# Input, Output Short Circuit MTU6/7 Interrupt Priority | MCU Specific Options | | Set the POE4# Input, Output Short Circuit MTU6/7 interrupt priority. |
Interrupts > POE8# Input Interrupt Priority | MCU Specific Options | | Set the POE8# Input interrupt priority. |
Interrupts > POE10#/11# Input, DSMIF Error Interrupt Priority | MCU Specific Options | | Set the POE10#/11# Input, DSMIF Error interrupt priority. |
The POE3 clock is based on the PCLKH frequency.
POE0# controls the output of MTU3 and MTU4. POE4# controls the output of MTU6 and MTU7. POE8# controls the output of MTU0.
The POE3 interrupt type is a level interrupt. Please do the following: When clearing the interrupt status in interrupt processing, Check the interrupt status is cleared before terminating interrupt processing.
This is a basic example of minimal use of the POE3 in an application.
This is an example of checking the status of POE3 after POE3 has disabled the MTU3 output pin.
This is an example of a using the POE3 callback check the status of POE3 and restore MTU3 output operation.