Abstract:
Method and systems for executing a non-maskable interrupt are provided. In one aspect, a method for executing a non-maskable interrupt includes: obtaining an interrupt request in a non-secure mode, and interrupting an operation of an operating system (OS); saving, in a secure mode, a status of the OS when the operation of the OS is interrupted; executing, in the non-secure mode, a procedure defined for the interrupt request; resume, in the secure mode, the status of the OS; and after resuming the status of the OS, continue executing the operation of the OS in the non-secure mode.
Abstract:
The present invention discloses a method and an apparatus for executing a non-maskable interrupt. The method includes: obtaining a secure interrupt request in a non-secure mode, and interrupting an operation of an operating system OS, where the secure interrupt request cannot be masked; entering a secure mode by using the secure interrupt request, and saving, in the secure mode, an interrupt context of an OS status when the operation of the OS is interrupted; returning to the non-secure mode to execute user-defined processing; after the user-defined processing is completed, entering the secure mode again, and resuming the OS status in the secure mode according to the interrupt context; and returning to the non-secure mode again, and continuing to execute an operation of the OS. The method and the apparatus for executing a non-maskable interrupt in embodiments of the present invention can easily implement an NMI mechanism without depending on hardware.
Abstract:
The disclosure relates to a controller for a power converter, the power converter comprising a first switch and a second switch, wherein the controller is configured to receive a first control signal based on a first drain-to-source voltage of the first switch; receive a second control signal based on a second drain-to-source voltage of the second switch; derive a first switch control signal based on the first control signal and control the first switch by providing the first switch control signal to the first switch; derive a second switch control signal based on the second control signal and control the second switch by providing the second switch control signal to the second switch; wherein the first switch control signal and the second switch control signal each comprises turn-on edges and turn-off edges. Furthermore, disclosure also relates to corresponding methods, a non-transitory computer readable medium.
Abstract:
A method and an apparatus execute a non-maskable interrupt. The method includes: obtaining a secure interrupt request in a non-secure mode, and interrupting an operation of an operating system OS, where the secure interrupt request cannot be masked; entering a secure mode by using the secure interrupt request, and saving, in the secure mode, an interrupt context of an OS status when the operation of the OS is interrupted; returning to the non-secure mode to execute user-defined processing; after the user-defined processing is completed, entering the secure mode again, and resuming the OS status in the secure mode according to the interrupt context; and returning to the non-secure mode again, and continuing to execute an operation of the OS. The method and the apparatus for executing a non-maskable interrupt in embodiments of the present invention can easily implement an NMI mechanism without depending on hardware.
Abstract:
The present invention discloses a transmitter, a receiver, and a method for receiving and transmitting a radio frequency signal, and relates to the field of radio communications technologies, which can perform carrier recovery and generation at a front end of a radio frequency circuit, thereby reducing a running cost of a baseband chip. The method includes: generating, by an amplitude discriminator/phase detector according to an intermediate-frequency analog signal, a signal amplitude pulse signal/signal phase pulse signal that is not corrected; generating, by a bit error matrix corrector, an amplitude/phase correction control signal; correcting, by the amplitude discriminator/phase detector, the signal amplitude pulse signal/signal phase pulse signal according to the amplitude/phase correction control signal; and converting, by an amplitude code generator/phase code generator, a corrected pulse signal into a corresponding digital code. The present invention is applicable to receiving/transmitting a radio frequency signal.
Abstract:
Embodiments of the present invention provide a frame synchronization method. The frame synchronization method of the wireless system includes: separately delaying a signal received from one of N receiving antennas in K tributaries, and outputting K delayed signals, where N and K are positive integers; generating a first output signal by performing a correlation operation on the K delayed signals and a preamble subsequence; generating a second output signal by performing the correlation operation on each of the K delayed signals and each of the K delayed signals itself; and performing cancellation processing for the first output signal and the second output signal to obtain a string of data stream, obtaining a maximum value of the string of data stream as a correlation peak, so as to determine a position of a frame header according to a time point corresponding to the correlation peak.