|
STC15W408AS library 0.17.0
|


Go to the source code of this file.
Functions | |
| void | timer0_1ms_delay_init () |
| Initializes Timer0 for 1 millisecond delay using precalculated ticks. | |
| void | timer0_1ms_delay () |
| Executes a 1 millisecond delay using Timer0. | |
| void timer0_1ms_delay | ( | ) |
Executes a 1 millisecond delay using Timer0.
Starts Timer0 and waits for the overflow flag (TF0) to be set, indicating that the configured 1ms time interval has elapsed. The timer is configured by timer0_1ms_delay_init() with the appropriate reload values for the system clock frequency.
| void timer0_1ms_delay_init | ( | ) |
Initializes Timer0 for 1 millisecond delay using precalculated ticks.