数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST10F280 数据表(PDF) 121 Page - STMicroelectronics

部件名 ST10F280
功能描述  16-BIT MCU WITH MAC UNIT, 512K BYTE FLASH MEMORY AND 18K BYTE RAM
PDF  186 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST10F280 数据表(HTML) 121 Page - STMicroelectronics

Back Button ST10F280 Datasheet HTML 117Page - STMicroelectronics ST10F280 Datasheet HTML 118Page - STMicroelectronics ST10F280 Datasheet HTML 119Page - STMicroelectronics ST10F280 Datasheet HTML 120Page - STMicroelectronics ST10F280 Datasheet HTML 121Page - STMicroelectronics ST10F280 Datasheet HTML 122Page - STMicroelectronics ST10F280 Datasheet HTML 123Page - STMicroelectronics ST10F280 Datasheet HTML 124Page - STMicroelectronics ST10F280 Datasheet HTML 125Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 121 / 186 page
background image
ST10F280
121/186
Note Reading the upper half of the Control
Register (status partition) will clear the
Status
Change
Interrupt
value
in
the
Interrupt Register, if it is pending. Use byte
accesses to the lower half to avoid this.
15.4 - CAN Interrupt Handling
The on-chip CAN Module has one interrupt
output,
which
is
connected
(through
a
synchronization stage) to a standard interrupt
node in the ST10F280 in the same manner as all
other
interrupts
of
the
standard
on-chip
peripherals. The control register for this interrupt
is XP0IC (located at address F186h/C3h for CAN1
and F18Eh/C7h for CAN2 in the ESFR range).
The associated interrupt vector is called XP0INT
at location 100h (trap number 40h) and XP1INT at
location 104h (trap number 41h). With this
configuration, the user has all control options
available for this interrupt, such as enabling/
disabling, level and group priority, and interrupt or
PEC service (see note below).
As for all other interrupts, the interrupt request flag
XP0IR/XP1IR in register XP0IC/XP1IC is cleared
automatically by hardware when this interrupt is
serviced (either by standard interrupt or PEC ser-
vice).
Note As a rule, CAN interrupt requests can be
serviced by a PEC channel. However,
because PEC channels only can execute
single predefined data transfers (there are
no conditional PEC transfers), PEC service
can only be used, if the respective request
is known to be generated by one specific
source, and that no other interrupt request
will be generated in between. In practice
this seems to be a rare case.
Since an interrupt request of the CAN Module can
be generated due to different conditions, the
appropriate CAN interrupt status register must be
read in the service routine to determine the cause
of the interrupt request. The Interrupt Identifier
INTID (a number) in the Interrupt Register
indicates the cause of an interrupt. When no
interrupt is pending, the identifier will have the
value 00h. If the value in INTID is not 00h, then
there is an interrupt pending. If bit IE in the Control
Register is set, also the interrupt line to the CPU is
activated. The interrupt line remains active until
either INTID gets 00h (after the interrupt requester
has been serviced) or until IE is reset (if interrupts
are disabled).
The interrupt with the lowest number has the
highest priority. If a higher priority interrupt (lower
number) occurs before the current interrupt is
processed, INTID is updated and the new
interrupt overrides the last one. The Table 28 lists
the valid values for INTID and their corresponding
interrupt sources.
TXOK
Transmitted Message Successfully
Indicates that a message has been transmitted successfully (error free and acknowledged by at least one
other node), since this bit was last reset by the CPU (the CAN controller does not reset this bit!).
RXOK
Received Message Successfully
Indicates that a message has been received successfully, since this bit was last reset by the CPU (the CAN
controller does not reset this bit!).
EWRN
Error Warning Status
Indicates that at least one of the error counters in the EML has reached the error warning limit of 96.
BOFF
Busoff Status
Indicates when the CAN controller is in busoff state (see EML).
Bit
Function (Control Bit)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com