參數(shù)資料
型號: S3P9658-SH
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO16
封裝: SOP-16
文件頁數(shù): 119/206頁
文件大?。?/td> 869K
代理商: S3P9658-SH
第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頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁當前第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁
S3C9654/C9658/P9658
APPENDIX
19-23
9.
Interrupt source.
9.1. Data_End flag : "1"
→ "0".
9.2. Sent_Stall
: "0"
→ "1".
9.3. In_Pkt_Rdy
: "1"
→ "0".
9.4 Out_PKt_Rdy
: "0"
→ "1".
10. Possible value of ep0csr when you get interrupt and appropriate action.
The first two flag (Clr_Setup_End, Clr_Out_Pkt_Rdy) are always "0" value when you read so I will
explain just low 6 bits.
If the MCU did not clear Sent_Stall flag then this value remain "1" until cleared. So Sent_Stall can be
set to any combination with below.
10.1. "000001" : Set Out_Pkt_Rdy.
If you get this value then you should check your state variable. If the state is in OUT control
transfer then this interrupt notice the receiving of OUT data transfer. So you should download the
FIFO data and clear this flag and do a appropriate action. If the state is in IDLE then this interrupt
means that the controller receive new setup transaction so download the FIFO data and should
decode and do a appropriate action.
10.2. "000100" : Set Sent_Stall.
If the controller sent stall to upstream then this value be set by SIE. This flag is for just monitoring.
So just clearing this flag is enough action.
10.3. "001000" : Set Data_End flag.
Actually this flag does not a generate interrupt condition. When you set In_Pkt_Rdy and Data_End
flag at the same time and the controller receive IN transaction and send data and receive ACK
packet then only In_Pkt_Rdy flag is cleared and generate interrupt. In this case you can get this
value set but there is no meaning so just leave these alone is enough action.
10.4. "010000" : Set Setup_End.
If the former control transfer is terminated by abnormally then this flag is set by hardware.
So if MCU got this value then should clear this flag and initialize some variable and should prepare
future control transfer.
10.5. "010001" : Set Setup_End and Out_Pkt_Rdy.
If the former transfer is terminated by new SETUP transaction then MCU can get this value.
If the MCU get this value then should initialize variable and reset the status variable according to
new command.
10.6. "000000" : Nothing is set.
This value can get in two case. If the former control transfer is terminated with Data_End setting.
The other case is happen in data stage of IN control transfer. In IN control transfer if you load data
to endpoint 0 FIFO and set In_Pkt_Rdy and the controller receive IN token and send data and
receive ACK packet then the SIE clear In_Pkt_Rdy and generate interrupt.
相關PDF資料
PDF描述
S3C9658XX-DI 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP18
S3C9658XX-DK 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP20
S3C9658XX-SH 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO16
S3C9658XX-SI 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO18
S3C9654XX-DI 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP18
相關代理商/技術參數(shù)
參數(shù)描述
S3P9688 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:8-bit single-chip CMOS microcontrollers
S3PDB100 制造商:SIRECTIFIER 制造商全稱:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N08 制造商:SIRECTIFIER 制造商全稱:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N12 制造商:SIRECTIFIER 制造商全稱:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N14 制造商:SIRECTIFIER 制造商全稱:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules