我是这样配置的,怎么还是没有进入中断函数?
PA_CR1 |=0b00000110; PA_CR2 &=0b00000110; PA_DDR |=0b00000010;
EXTI_CR1=0x03;
@far @interrupt void RS485_RX_Interrupt(void)
{
if(RS485RX)
{
RX |=0x80;
}
RX>>1;
}
{0x82, (interrupt_handler_t)_stext}, /* reset */
{0x82, NonHandledInterrupt}, /* trap */
{0x82, NonHandledInterrupt}, /* irq0 */
{0x82, NonHandledInterrupt}, /* irq1 */
{0x82, NonHandledInterrupt}, /* irq2 */
{0x82, RS485_RX_Interrupt}, /* irq3 */
{0x82, NonHandledInterrupt}, /* irq4 */
{0x82, NonHandledInterrupt}, /* irq5 */
|