5.1.5.2.3. Non-functional requirements
The system shall ensure that the generated PWM frequency does not deviate by more than ±1% from the user-specified value. |
The system shall allow the duty cycle to be configured with a resolution of 1%, providing precise control over the PWM output signal. |
The system shall support PWM signal generation for frequencies ranging from 1 Hz to 50 kHz. |
The Timer module shall operate continuously for at least 24 hours without errors or unexpected interruptions. |
The Timer module shall maintain accurate and stable operation, including generating correct PWM signals, without errors or interruptions, at ambient temperatures between -40°C and 85°C. |
The system shall reset the Timer module by disabling the counter, clearing the configuration registers (PSC, ARR, CCR), and setting all outputs to their default inactive states if the specified duty cycle is outside the valid range of 0% to 100%. |
The Timer Module shall operate without interfering with the performance of other peripherals, such as GPIO or USART, when used simultaneously. |
The system shall configure the Timer module and begin generating a PWM signal within 5 milliseconds of activation. |