mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
BL割り込みが入らなくなっていた マスクなのを忘れていた
bin更新(C2) git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@57 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
fbd319fdea
commit
b1cc45deda
BIN
trunk/bin/mcu_C2_0B_1215_2.bin
Normal file
BIN
trunk/bin/mcu_C2_0B_1215_2.bin
Normal file
Binary file not shown.
@ -282,7 +282,7 @@ void PM_LCD_off()
|
|||||||
|
|
||||||
if( (( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
if( (( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
||||||
{
|
{
|
||||||
vreg_ctr[ VREG_C_IRQ3 ] |= ( ( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & vreg_ctr[ VREG_C_IRQ_MASK3 ] );
|
vreg_ctr[ VREG_C_IRQ3 ] |= ( ( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & ~vreg_ctr[ VREG_C_IRQ_MASK3 ] );
|
||||||
IRQ0_neg;
|
IRQ0_neg;
|
||||||
tot = 0;
|
tot = 0;
|
||||||
while( !IRQ0 && ( ++tot != 0 ) ){;}
|
while( !IRQ0 && ( ++tot != 0 ) ){;}
|
||||||
@ -349,13 +349,13 @@ err PM_BL_set( u8 dat )
|
|||||||
wait_ms( 10 );
|
wait_ms( 10 );
|
||||||
}
|
}
|
||||||
|
|
||||||
vreg_ctr[VREG_C_STATUS] = (( vreg_ctr[VREG_C_STATUS] & 0b10011111 ) + ( blset << 5 ));
|
vreg_ctr[VREG_C_STATUS] = (( vreg_ctr[VREG_C_STATUS] & 0b10011111 ) | ( blset << 5 ));
|
||||||
{
|
{
|
||||||
u8 tot;
|
u8 tot;
|
||||||
|
|
||||||
if( ( intset & vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
if( ( intset & vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
||||||
{
|
{
|
||||||
vreg_ctr[ VREG_C_IRQ3 ] |= ( intset & vreg_ctr[ VREG_C_IRQ_MASK3 ] );
|
vreg_ctr[ VREG_C_IRQ3 ] |= ( intset & ~vreg_ctr[ VREG_C_IRQ_MASK3 ] );
|
||||||
IRQ0_neg;
|
IRQ0_neg;
|
||||||
tot = 0;
|
tot = 0;
|
||||||
while( !IRQ0 && ( ++tot != 0 ) ){;}
|
while( !IRQ0 && ( ++tot != 0 ) ){;}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user