Method and apparatus for implementing base station power-down alarm by using interrupt

2007 
The invention relates to a method and device for warning power-fail of base station by interrupting. After a power module tests the power-fail of base station, a signal of warning power-fail is outputted to a programmable logic device; the programmable logic device generates an interrupt source signal according to the signal of warning power-fail, and writes a value that stands for the signal of warning power-fail in a memory module; the interrupt source signal and another interrupt source signal carry out AND operation, and the result of the AND operation is transmitted to a processor to trigger the processor to interrupt; after the processor is triggered to interrupt, the memory module is inquired; after the value that stands for the signal of warning power-fail is inquired, the information of warning power-fail is transmitted to a controller of the base station. The invention warns power-fail of base station by interrupting; while improving the reliability, the application of the method of interrupting the processor with other interrupt source signal can save the interrupt resource of the processor, and can conveniently implement the function of warning power-fail of base station in the application that the interrupt resource of the processor is in stress.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []